Can somebody please help me with the following scenario:
How could something like this could be achieved in Jira?
Query: project = project-name AND type = Sub-task (type = Story AND status changed TO "Development Done")
I want Sub-tasks as my results but filter them according to the changed status at a Story.
If I write,
Query: project = project-name AND type = Sub-task AND status changed TO "Development Done"
then the query filters the data according to the Status changed at sub-tasks.
Thanks a lot in advance.
with plain Jira, this is not possible. If you have the Scriptrunner plugin you can do the following:
project = project-name and issuetype = sub-task and issueFunction in subtasksOf("project = project-name and status changed to Development Done")
Thank you for your quick response, actually I have a little more complicated problem. Can you please help me with that.
I, actually, want only the Subtasks which were created after the Story status was changed to Development Done. How to include that filter as well?
Sorry Udita, but I didn't find a function that is able to compare the status changed date from the main issue with the creation date of the subtask. Even with Scriptrunner. It might be possible to add a scripted field, maybe someone else has a solution for that?
This is a compromise and not very flexible, but you could add the "Sub-tasks" column to your filter results.
That way you can search for stories meeting particular criteria and see a list of the sub-tasks under those:
Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG