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.
epic() #Output: 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.
epic(issue list issues) #Output: 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.
epic(string issue_keys) #Output: Issue list