Forums

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

Scriptrunner . issues in Epic does not work

David Cole
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!
August 15, 2020

I am trying to set a board. This will contain all tasks/stories that are in epics that have a certain label. 

To test it out I used the following 2 queries:

project = "CMSS" and type = story and "Epic Link" in ('CMSS-2077')

=> This finds 2 rows

project = "CMSS" and type = story and issueFunction in issuesInEpics("key in (CMSS-2077)")
=> this finds 0 rows and does not give an error message.


The function  "subtasksOf" works properly. 

What could be wrong here ?

1 answer

0 votes
Martin Bayer [MoroSystems, s.r.o.]
Community Champion
August 15, 2020

hi @David Cole what field is "type", is it some custom field? And can you tryto compare results of JQLs

  • "Epic Link" in ('CMSS-2077')

  • issueFunction in issuesInEpics("key in (CMSS-2077)")
David Cole
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!
August 17, 2020

Epic Link finds 10 rows.

issueFunction finds nothing

Suggest an answer

Log in or Sign up to answer