How can I e-mail someone when Issue status changes

I have Stories. Stories have subtasks, e.g. "Coding" and "Testing."

I would like to find a way to automatically e-mail the tester when the Coding subtask is resolved. Note that the subtask is not assigned to the tester. Also note that I have a "Tester" role I can use.

3 answers

1 accepted

Use the 'script runner' plugin. You can use a custom groovy script to accomplish this very easy. Add your groovy script as a post function to the state transition.

Hi George,

You could create a new event and execute it through the workflow (postfunction afte the desired status) of the Coding Subtask. This Event would then need to be reffered to in your notification scheme to send the email to the mentioned project role.

Please make sure that the mentioned workflow should only be used for issue types where this notification is required.

Hope that helps? Cheers, David

Hi,

You can add a post-function to the Resolve transition that will fire a custom event (you can create events in Administration -> Events), and then configure the notification scheme to send emails to the project role "Tester" when that specific event is triggered.

Hope that helps.

Thanks to you both!

David's idea would work, but it would require too much change to the workflow.

Florin's idea point me in the right direction, thanks, and I should have thought of it. I just added it to the "Issue Resolved" event in the notification scneme.

I believe I was saying pretty much the same thing as he was, we just wrote it at the same time.

Glad I could help!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,335 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot