You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

This function returns the issue list of epics under which the specific issue(s) are. 

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.

Syntax
epic() #Output: Issue list
Examples
Parser expressionDescription
epic()

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

Output

This function returns an ISSUE LIST.

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


Variant where you can specify an issue list from which the epics should retrieved from. This function returns the issue list of epic issues under where those issues in argument issues are. If some of those issues are sub-tasks, then the epic of their parent is returned. Duplicated issues in argument issues are discarded.

Output can contain duplicated issues.

Syntax
epic(issue list issues) #Output: Issue list
Examples
Parser expressionDescription
epic(linkedIssues("is blocked by"))

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

Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
Output

This function returns an ISSUE LIST


Variant where you define issue_keys instead of issues.

Argument issue_keys is a comma-separated list of issue keys. Duplicated issue keys in argument issue_keys are discarded. Output can contain duplicated issues.

Syntax
epic(string issue_keys) #Output: Issue list
Examples
Parser expressionDescription
epic("CRM-15, HD-21")

This example returns the issue list of epics under where issues with keys CRM-15 and HD-21 are.

Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
Output

This function returns an ISSUE LIST