Hi
This JQL gives me the only epic that is not connected to any parent (program epic):
issueFunction in epicsOf("labels = 'my label'").
Is there any way to get a list of all the epics that is a child of a program epic with a certain label?
You can try something like this. It will give you a list of all Epics that have a parent Program Epic that has a specific label.
issuetype = Epic AND issuefunction IN linkedIssuesOf("labels = 'labelval' AND issuetype = 'Program Epic'", 'is Parent Of')
I run the above in Scriptrunner, but get no result, 0 issues.
I work in a cloud instance, if that is important.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That function should still be available in jira cloud using scriptrunner enhanced search: https://scriptrunner-docs.connect.adaptavist.com/jiracloud/enhanced-search.html
Are you using the "Parent Link" field to define the parent/child relationship? Or are you using standard issuelinks?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Late answer ....
I'm using the "Parent Link"
Now when I read my question I think I need to rephrase it.
Progr epic 1, with label X
Epic A
Epic B
Progr epic 2
Epic C
Epic D
Now I want filter out just the child epics in Progr epic 1, based on label X
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.