Script Runner Custom JQL for Epic Link

Craig Hylwa
Contributor
June 4, 2015

Using Custom JQL script I would like to return Issues Linked to an Epic Only from a certain Project and Issue Type

The following gets me the Issues Linked to the Epic  

 

issueFunction in linkedIssuesOf("issue = currentIssue()""is Epic of")

 

I am not sure how to continue to limit that to only issues from Certain Project and Type

2 answers

0 votes
Craig Hylwa
Contributor
June 4, 2015

Hi Jaimie thank you for the response can you clarify for me how I can further limit the results to a certain Issue Type

 

 

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 4, 2015

"and issuetype = Bug"

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 4, 2015

I'm not sure what that currentIssue() is... and I'm not 100% sure what you need but you can definitely limit it either by adding your additional clauses to the filter parameter, eg:

issueFunction in linkedIssuesOf("PROJECT = FOO""is Epic of")

or

issueFunction in linkedIssuesOf("...""is Epic of") and PROJECT = FOO

Update: sorry, when I say "either", I'm not saying their equivalent. The first will get issues links to issues in FOO, the second will get the linked issues which are in FOO.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events