Greetings all!
Need some more help plz. I am trying to get the list of User Stories with "Sub-tasks status in (Done, Cancelled)". So it should pull only the count of User stories where the sub-tasks status in either Done or Cancelled.
am using below query, but doesn't pull anything.
project = JIRA AND "Epic Link" = JIRA-1 and issuetype = story and issueFunction in hasSubtasks() and (issueFunction in subtasksOf("status in (Done, Cancelled)"))
can you please help?
Got the answer!
project = Jira and "Epic Link" = Jira-1 and type = Story and not issuefunction in parentsOf("status != Done and status !=Cancelled") and issueFunction in hasSubtasks()
For advanced search options go to Advanced search reference - JQL functions | Jira Work Management Cloud | Atlassian Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@bravedj , if you are interested on returning the stories only, then you should use parentsOf instead of subtasksOf
That would return the parents (i.e., stories) where the subtasks are in the given status
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey, I am tring to retrun the Subtasks in this case what to do?
I am struggling in filtering all the Subtasks != Done but their parent Stories = Done.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In Jira cloud, the following is available without Scriptrunner:
For other advanced search options go to Advanced search reference - JQL functions | Jira Work Management Cloud | Atlassian Support
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.