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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

206 views 1 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