siblingIssuesUnderEpic()

This function returns an issue list containing sibling issues which are linked to same epic as the current issue

The current issue will not be included in the output, except if it is an epic itself. 

Only standard issues (no sub-tasks) will be returned and duplicates are being removed.

Bash
siblingIssuesUnderEpic() #Output: Issue list

Examples

Parser expression

Description

Bash
%{siblingIssuesUnderEpic()}

This example returns a list with the all issues linked to the same epic as the current issue, excluding the current issue, e.g.:

[JWT-2, JWT-3, JWT-4]

Output

This function returns an ISSUE list


Variant where you additionally define an issue list.

Duplicated issues are filtered from the output.

Bash
siblingIssuesUnderEpic(issueList) #Output: Issue list

Examples

Parser expression

Description

Bash
%{siblingIssuesUnderEpic(linkedIssues("is blocked by"))}

This example returns the issue list of all all issues linked to the same Epics as the issues blocking the current issue, excluding the blocking issue e.g.:

[JWT-2, JWT-3, JWT-4]

To achieve this the following function is used:

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

issueList

ISSUElist

Any given issue list. Usually this value is retrieved from a function (e.g. linkedIssues() or issuesUnderEpic()).

Output

This function returns an ISSUE list


Variant where you define issue keys instead.

Bash
siblingIssuesUnderEpic(issueKeys) #Output: Issue list

Examples

Parser expression

Description

Bash
%{siblingIssuesUnderEpic("CRM-15, HD-21")}

This example returns an issue list of issues linked to the same epics as CRM-15 and HD-21. excluding issues with keys CRM-15 and HD-21 from the output.

[CRM-22, CRM-23, HD-24, HD-26, HD-27]

Bash
%{siblingIssuesUnderEpic(%{issue.cf10112})}

This example returns an issue list of issues linked to the same epics as those that are stored in the custom field, but excluding them, e.g.

[JWT-2, JWT-4, HD-24]

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

issueKeys

TEXT

A text containing issue keys separated by commas.

Output

This function returns an issue list

If you want to include the given issues in the output have a look at issuesUnderEpic() instead.


(books) Use cases and examples