Hello Community,
I am looking for a way to only show Tasks where all Sub-Tasks do not (!=) have status Open.
I can select Tasks by using:
issuetype = Task
But how can I access the Sub-Tasks of these Tasks?
JIRA doesn't support it out-of-the-box but if you have script runner plugin installed then you can easily do it using the JQL function
issueFunction in parentsOf("type = sub-task and status != 'open'") and type = Task
The other solution is to use the REST API
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Seems like you are trying to find stale tasks that should be closed off because all of the sub-tasks are complete?
The only way to do this AFAIK is with an addon like Scriprunner where you can use "issuefunction" parameter. there are other threads in the Community that illustrate how this can be done.
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.