How to notify assignees of subtask when parent changes

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?

2 answers

1 accepted

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.

You'd only fire a post function as part of the workflow, not a general update event

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?

Yes you are right Mathew. A post-function would only work during transition and notify all the subtask users.

If you want to notify on every update or any other issue events, then we need something different.

Do you have any plans to make your plugin available for OnDemand users as well?

Its my understanding that right now, your plugin & the Script Runner plugin are available only for the download versions of, not the OnDemand version.

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?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

143 views 0 3
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you