Hi all,
Is it possible for JIRA Automation to detect if a commenter is an approver, through JQL or through the automation GUI.
I want to make it so if an approver replies to a ticket via email with the body containing 'Approve' or 'Decline', it will approve or decline the ticket, but I need to verify this will only work if the commenter is the approver.
I'm not interested in using this method https://support.atlassian.com/jira-service-management-cloud/docs/manage-settings-for-approval-by-email/ and would prefer JIRA Automation
Hi @[deleted]
First thing, I am not using JSM and so am basing my ideas on the documentation...
It appears the {{approval}} and {{approval.addedApprovers}} smart values are only available with the triggers for approvals: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--approval--
You may confirm that by finding an example issue with approvers and using this how-to article to see the available smart values: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/
If the addedApprovers are available, try a user condition to test your comment's author.
If the fields are not available, you would need to hardcode the possible approvers in a rule condition test using their accountId values.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.