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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

184 views 1 11
Read article

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