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

Accepted Answer
0 votes

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 Sign up to answer
Community showcase
Posted Oct 16, 2018 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...

72 views 0 3
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