Complex scripted JQL function

Yoann GUIRIMAND November 7, 2014

Hi 

I use JIRA Agile. My epics have a custom field called "team" (it's a list, values can be A, B or C)

With Script Runner, I would like to write a function to return all the issues of my epics for which "team" value is A. I tried something like this, without success: 

issueFunction in linkedIssuesOf("Team = A", "has Epic")

Can someone help with the correct syntax ?

Regards,

2 answers

1 accepted

1 vote
Answer accepted
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.
November 8, 2014

The second param should be "is Epic of", see https://jamieechlin.atlassian.net/wiki/display/GRV/Scripted+JQL+Functions#ScriptedJQLFunctions-MoreComplexExamples

The first param should may be "Team = A and issuetype = Epic'

0 votes
Yoann GUIRIMAND November 8, 2014

Many thanks Jamie - it works perfectly

Suggest an answer

Log in or Sign up to answer