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

0 votes
Accepted answer

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,297 views 12 19
Read article

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