It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I e-mail someone when Issue status changes

George Carvill Nov 26, 2012

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

0 votes
Answer 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.

0 votes

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

0 votes
Florin Manaila Nov 26, 2012

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.

George Carvill Nov 26, 2012

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.

Florin Manaila Nov 26, 2012

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

12,632 views 63 59
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you