Hi,
I am using Jira service management from couple of years. I have almost used every functionality within it. Now I came up with an requirement of my client that he wants to add a default value as a comment via a link in the approval mail received. Like I want to create a html link in the mail body and on the click of that link it should automatically add a comment in the issue with a preset value. or if we can open a comment dilouge to capture the input. Please help me with this.
Please have a look on below and rectify me.
<p>
<a class="mark-as-duplicate" href="${request.field.comment.add == 'Duplicate Request'}">Mar as Duplicate </a>
</p>
Hi @Prem
You could try to add html like this:
<a href="mailto:jira@<tenant-name>.atlassian.net?subject=Re: {{issue.key}} Issue&body=Duplicate">Mark as Duplicate</a>
This should trigger a mail action tha the client only has to press sent on
Have an automation rule on the project if you want to action that comment, let's say decline the approval
Where the trigger is based on comment is the main action and the smart value condition is related to the {{triggerIssue.comment.last.body}} and this contains Duplicate and then add an action.
Hi @Marc - Devoteam ,
Thanks for the reply. However, this doesn't meet my requirements. I need to add a hyperlink in the email body that, when clicked by the client, will trigger an action. This action should either add a comment to the issue or set the resolution to "Duplicate." The entire process needs to be handled within the email itself. I do not want the client to have to open the portal and manually mark the issue as a duplicate.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
H @Prem
This I think can't be done, unfortunately.
You could reach out to the Atlassian Developer community, to see if they can help you out.
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.