Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to filter on epic link using issueFunction in linkedIssuesOf

Matthew Knouff
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 15, 2019

We use a separate project in Jira to track defects. These defects are linked to the original issue, from the original project, with "Affects Test Execution Of". I want to be able to filter these defects based on a handful of epic links from the originating issue. 

Project = "CXT - Defect Tracker" AND issueFunction in linkedIssuesOf("resolution = unresolved", "Affects Test Execution of") AND issueFunction in linkedIssuesOf("Epic Link in (VZWCS-6402, VZWCS-6028, VZWCS-7238, VZWCS-6029, VZWCS-5832, VZWCS-5833)", "Affects Test Execution of") AND resolution = Unresolved ORDER BY key ASC

 Using that query I get the error 

  • Error in scripted function: linkedIssuesOf, see below
  • NoViableAltException(59@[])

What's the issue?

1 answer

0 votes
Hana Kučerová
Community Champion
November 15, 2019

Hi @Matthew Knouff,

the problem could be in Epic Link field - it should be in quotation marks.

Try this:

Project = "CXT - Defect Tracker" AND issueFunction in linkedIssuesOf("resolution = unresolved", "Affects Test Execution of") AND issueFunction in linkedIssuesOf("'Epic Link' in (VZWCS-6402, VZWCS-6028, VZWCS-7238, VZWCS-6029, VZWCS-5832, VZWCS-5833)", "Affects Test Execution of") AND resolution = Unresolved ORDER BY key ASC

Suggest an answer

Log in or Sign up to answer