Forums

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

Searching for Tasks of Epic that meet certain criteria (have Scriptrunner)

Frank Lohfeld July 20, 2020

G'day

 

i will find every EPIC, with the FLAG "Workstream = yes" and all other Tickets that are suptickets of one of this EPICS.

I have tryed the following JQL but it doesn't worked.

(type = Epic AND Workstream = Yes AND status != Closed) or issueFunction in issuesInEpics("Workstream = Yes")

i get the message: Error occurred communicating with the server. Please reload the page and try again.

But without the Scriptrunnerfunction it works
Please can you help me?
We are using Scriptrunner 6.0.1-p5 and JIRA 8.5.4 Server



2 answers

0 votes
Leo
Community Champion
July 21, 2020

Hi @Frank Lohfeld,

Can you try below query, I believe this should work for you

(type = Epic AND Workstream = Yes AND status != Closed) or issueFunction in issuesInEpics("type = Epic AND Workstream = Yes AND status != Closed") 

You can remove status !=closed in subquery if that is not required

 

BR,

Leo 

0 votes
Frank Lohfeld July 20, 2020

Modul is enabledAnmerkung 2020-07-20 183208.jpg

Suggest an answer

Log in or Sign up to answer