Hi there,
"Give me all issues of type 'sub-task', which are not closed yet, but whose parent story are closed"
Is there any way I can phrase this in JQL?
Unfortunately, this doesn't work:
issuetype=Sub-task AND status!=closed and parent.status!=closed
cheers - rene
You could try the search intent plugin (https://marketplace.atlassian.com/plugins/com.atlassian.jira.plugins.jira-search-intent-plugin) and use a query like this :
issuetype=Sub-task AND status!=closed and
SearchIntent = parentsInQuery("status != Closed")
I can't test this so I'm sure if it will work. You could also check out the JQL tricks plugin:
https://marketplace.atlassian.com/plugins/com.j-tricks.jql-plugin
take a look: https://answers.atlassian.com/questions/148224/jql-parent-is-a-specific-issue-type
requires a plugin installed, but is the same example with tasks and subtasks.
HTH
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.