import com.atlassian.jira.issue.Issue; List<Issue> subList = new ArrayList(); subList.addAll(issue.getSubTaskObjects()) passesCondition = false; for(int i=0;i<subList.size();i++){ Issue subIssue = subList.get(i); if( "Subtask-CR".equalsIgnoreCase(subIssue.getIssueType().getName())){ passesCondition = true; break; } }
Overview
Content Tools