Dear community,
I’m facing the following issue in Jira Data Center (Service Desk):
I would like approvers to receive an email notification when the issue transitions to the approval status. However, the email should include additional non-default fields (for example, custom fields that are not normally visible in the default approval notification).
At the same time, it is important that the email still contains the built-in Approve and Decline buttons available in the standard Jira approval emails.
Is it possible to create such a customized approval email using native Jira functionality or ScriptRunner, while preserving the Approve and Decline buttons?
Hello @Asya , this can partially be done when you go to Space Settings -> Notifications -> Customer notifications -> Approval required
From the picture you can see that there isn't an option for adding your custom field. Even if you try with options like ${issue.customfield_XXXX} it won't present the value itself.
Thank you Nikola, Do you have any info how I can use ScriptRunner in this case?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Asya,
Prior to JSM Cloud incorporating this as a normal function (not sure if DC has done that not, but check that first), I created this article on how to do it with an automation rule. You can modify as needed to fit your use case/tools.
|
|
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI @Asya
Yes this is possible.
In the project settings of the JSM projects, go to the section "Customer notifications", choose the Approval required notification and edit the content of the notification,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Marc
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.