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?
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]> <![endif]-->Approve<!--[if mso]> <![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]> <![endif]-->Decline<!--[if mso]> <![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]> <![endif]-->Deffered<!--[if mso]> <![endif]--></a></td>
</tr>
</table>
This will add the comment to ticket you have write other Automation that as soon as comment added ticket should be transison
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.