I may be a bit out there but in our organization, it's very common for there to be an "owner" (assignee/reporter/watcher...doesn't matter) of a parent task or user story. I'm finding it very difficult to know when all sub-tasks have been completed, so that I can take the appropriate action on the parent.
We have a workflow setup where sub-tasks of a parent go from To Do > In Progress > Done (closed). But the parent task (lets assume it's a user story) goes from To Do > In Progress > Ready for QA > In QA > Done (closed).
As you can see, there are additional steps that need to occur for the parent task. The auto-transition doesn't work for us, as it puts the parent straight to close, so we have instructed our users not to use that (wish I could turn that off).
How, as an "owner" of the parent task, can I be notified when all of the sub-tasks are completed? Right now, I have to manually check each parent every day (sometimes multiple times a day).
as Bhushan noted you can use script runner plugin. Use following filter:
issuefunction in hassubtasks() and status !=closed and not issuefunction in parentsof("issuetype =sub-task and status != closed")
Then you can subscribe that Filter.
There are quite a few ways to do this. You can write a post-function for the sub-task close action to send a notification only if all sub-tasks are closed.
You can also write a listener. I have a tutorial available here for that https://bitbucket.org/bhushan154/jira-listener-tutorial/wiki/Home
Also check out the script runner plugin which can do a lot for you
Thanks for the info. I'll definately keep looking at script runner, seems useful. The listener tutorial is probably a bit outside my skillset but I would like to ask if you can further elaborate on your first point;
You can write a post-function for the sub-task close action to send a notification only if all sub-tasks are closed.
Not sure I totally follow what you are saying there. Post function on a sub-task close but looks at other sub-tasks?
Thanks for the offer Bhushan but to be honest, I would be more interested in an enhacement request that I could vote for. Not to down-play your willingness to help, I appreciate that but I really don't want to get into customizing at that level, nor do I have the technical skill to do it ;)
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs