Hello all!
I would like to create a filter, where I can see all initiaitves of my project that are not closed, but in which every epic is closed, so I can adjust the status of the initiative manually - yes, I want it like that.
Im a beginner and tried to inform myself but I really dont understand much.
Could you please help me?
Hello @Tom Cruz ,
Cristiano from Appfire Team here.
IssueType = "Initiative" AND Status = Open
AND issue IN parentsOfIssuesInQuery("Project = 'X' AND IssueType = Epic AND Status = Closed")
AND issue NOT IN parentsOfIssuesInQuery("Project = 'X' AND IssueType = Epic AND Status != Closed")
Hey Tom,
Welcome to Atlassian Community!
We don't have a way to search this using native JQL.
However, going forward, you can consider writing an automation rule to automatically close the Initiatives when all Epics are closed.
Here's the automation template that should help: https://www.atlassian.com/software/jira/automation-template-library/rules#/rule/140671
Thanks!
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.
Hey @Tom Cruz
You cant do this with a normal JQL, do you have ScriptRunner installed?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes i have!
thx
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Tom Cruz
So open the "ScriptRunner Enhanced Search" and type:
issueFunction in childrenOf("issuetype = Initiative and Status not in (Closed,Done)") and issuetype = Epic and Status not in (Closed,Done)
After it will find the work-items, you can save the filter and call it under a regular JQL statement.
for example if you save the ScriptRunner filter under name "Example"
In JQL write:
filter = "Example"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much!
I did as you said, but now the EPICs are shown. I would like to see the initiaitves, that only have closed epics.
thx and kr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.