Add workflow button to email notification

Hello there!

My notification scheme is configured to send emails when a change on an issue occurs. The email is sent and everything works well.
But I would like to have links to my workflow buttons inside the mail. Currently you need to click on the mail and then click on the workflow button to proceed to change the status. Can I add a link to the workflow-steps inside the email?

Regards
Peter 

3 answers

1 accepted

Maybe there is a better solution out there, but one I can think of is to create a REST endpoint (using Script Runner ) for example, which transitions the issue via GET request taking the issue key and transition id in the URL parameters, so if you send a custom email with a generated link which includes issue key and transition id to that REST endpoint it will transition the issue.

https://scriptrunner.adaptavist.com/latest/jira/rest-endpoints.html

To make the user experience better you can return HTTP 303 (See Other) from the REST endpoint, so the user is redirected to the issue view screen after the transition is executed.

Is there a screen associated with the transition you want to execute ?

@Boris Georgiev [Botron] - Yes, but I could remove the screen, if that would be a problem.

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 ...

2,760 views 11 18
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