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 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
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

546 views 6 12
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