how can i send the transition of a workflow as a button in an email?

Hi there,

I am using JEMH and I want to send the transition ("approved" and "rejected") in an email . In response once he approves or rejects it through email there should be a change in the status of the workflow.

Is it possible?

Thanks in advance

1 answer

1 accepted

If I understand your requirements clearly, you wanted an email that contains 2 options (your approve and rejected transition) that a user just needs to click (so the buttons here will need to POST to the JIRA REST API for updating an issue together with the user's JIRA account with password and project ID).

Based on this, you will need to do some coding and customized emails and it's not available natively in JEMH. I believe you can only do 1 transition at a time

Reference: https://thepluginpeople.atlassian.net/wiki/display/JEMHC/Issue+workflow+transition+by+email

Thanks for your response. Does the reference link you sent work other way around. When the user sends @workflow=approved. Will this change the status in the workflow?

 

Thanks

The Reference has helped me in sending the Email to the user and change the status. Thanks a lot. Can you please explain me how to use the JIRA REST API's on using the buttons for a particular email so that once the user clicks approve or reject button the issue is updated

 

Thanks in advance

Read on how to update an issue via the JIRA REST API here

https://docs.atlassian.com/jira/REST/latest/

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,965 views 12 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