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
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

47 views 0 2
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