Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to put a transition link in email?

Pavel Kolmagortsev May 6, 2024

Use case: users must be able to transit issues, but they don't have a permission to browse them.

So, I want to send them emails with a link to transit issues.

How can I do it? How can it be done in Script Runner?

1 answer

0 votes
Sudarsana G
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 6, 2024

Hi Pavel,

Users must have Transition issue permission , for send the transition link  you can use an jira automation to send an email and in the email you can use below HTML code Change the Transition name based on your requirements 

{{issue.reporter.displayName}} has raised an issue.

<a href="{{issue.toUrl}}">{{issue.summary}}</a>

Additional Details: {{issue.description}}

<table bgcolor="#ffffff" border="0" cellspacing="0" cellpadding="0">

<tr>

<td height="21" align="center" bgcolor="#068000" style="-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;"><a href="mailto:jira@scientificgames-sandbox-400.atlassian.net?subject=Re: {{issue.key}} Issue&body=I approve this ticket" target="_blank" style="font-size: 18px; font-family: Arial, sans-serif; color: #ffffff; text-decoration: none; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; padding: 1px 5px; border: 1px solid #068000; display: inline-block;"><!--[if mso]>&nbsp;&nbsp;<![endif]-->Approve<!--[if mso]>&nbsp;&nbsp;<![endif]--></a></td>

<td align="right" style="padding-left: 5px; padding-right: 5px;"></td>

<td height="21" align="center" bgcolor="#FD1B00" style="-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;"><a href="mailto:jira@scientificgames-sandbox-400.atlassian.net?subject=Re: {{issue.key}} Issue&body=I decline to approve" target="_blank" style="font-size: 18px; font-family: Arial, sans-serif; color: #ffffff; text-decoration: none; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; padding: 1px 5px; border: 1px solid #FD1B00; display: inline-block;"><!--[if mso]>&nbsp;&nbsp;<![endif]-->Decline<!--[if mso]>&nbsp;&nbsp;<![endif]--></a></td>

<td align="right" style="padding-left: 5px; padding-right: 5px;"></td>

<td height="21" align="center" bgcolor="#0000ff" style="-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;"><a href="mailto:jira@scientificgames-sandbox-400.atlassian.net?subject=Re: {{issue.key}} Issue&body=I Deferred the request" target="_blank" style="font-size: 10px; font-family: Arial, sans-serif; color: #ffffff; text-decoration: none; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; padding: 1px 5px; border: 1px solid #0000ff; display: inline-block;"><!--[if mso]>&nbsp;&nbsp;<![endif]-->Deffered<!--[if mso]>&nbsp;&nbsp;<![endif]--></a></td>

</tr>

</table>

Sudarsana G
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 6, 2024

This will add the comment to ticket you have write other Automation that as soon as comment added ticket should be transison 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events