This function returns the issue list of epics that are linked to a given set of issues. 

If the specified issue is a sub-task, then the epic of its parent issue is returned. If specified issue is an epic itself, then current issue is returned.


epic() #Output: Issue list



Parser expressionDescription


%{epic()}


This example returns an issue list containing the current/ parent issue's epic.



This function returns an .

If the current issue or its parent does not have an epic, the function returns an empty .




Variant where you can specify an issue list from which the epics should retrieved from. The output may contain duplicates.


epic(issueList) #Output: Issue list



Parser expressionDescription


%{epic(linkedIssues("is blocked by"))}


This example returns the issue list of all epics of those issues which are blocking the current issue.

To achieve this, the following functions are used:



Parameters used in this function

ParameterInput (data type)Description
issueList

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



This function returns an




Variant where you define issue keys instead of an issue list.

Multiple issue keys are provided as a comma-separated list of issue keys. Duplicated issue keys are discarded. Output can contain duplicated issues.


epic(issueKeys) #Output: Issue list



Parser expressionDescription


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


This example returns the issue list of all epics linked to issues with keys CRM-15 and HD-21.



Parameters used in this function

ParameterInput (data type)Description
issueKeys

Text containing valid issue keys in a comma-separated list.



This function returns an



Use cases and examples




Status
Tech review

Style guide




Short description

Returns all epics linked to specified issues.

Output

Available since

Label