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.

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

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?

https://marketplace.atlassian.com/plugins/jira-parent-watcher

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

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...

188 views 1 17
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