If I update a story which has subtasks, I would like to be able to automatically notify users that are assigned to any subtasks of the story.
It is possible to configure this or automatically add assigness of the subtaks as wathcers of the parent?
Hi Nigel,
You can use script runner to send custom emails.
In a post-function, retrieve all subtasks and send out an email to the assignees. There is an example in the link below.
https://jamieechlin.atlassian.net/wiki/display/GRV/Post+Functions#PostFunctions-SendEmailWhenBlockerReported
You'd only fire a post function as part of the workflow, not a general update event
There's a plugin that does it the other way round, when a sub-task changes, the watchers on the parent are notified. Maybe you could take the source and modify it?
https://marketplace.atlassian.com/plugins/jira-parent-watcher
I am adding this functionality to the subtask assign plugin.
https://marketplace.atlassian.com/plugins/com.stygian.jira.plugins.subtaskassign
But the question is about when a parent issue is updated, notify assignees of the subtasks. Updates come from multiple sources, Edit/Update, comment, assign, attach file, add sub-tasks, link.... etc. Even if it was part of the workflow, you'd have to have the post function in each and every transition. A listener would be better, no?
It looks like you're new here. Sign in or register to get started.