In my JSM, if affected user and approvers are the same person, it means this user can approve own request. Does anyone can share some idea with me? How to restrict a user can not approve own request?
The field type of Affected user is assets objects. the field type of approvers is user picker(multiple user)
Hello @Benjamin Zhou
Automate Reporter Assets Field in JSM Cloud | Jira and Jira Service Management | Atlassian Support
This KB Articles should be Informative for you.
You can use the native Exclude approvers from setting on your workflow's approval step, but it only accepts standard Jira User Picker fields, not Assets object attributes.
Create a hidden User Picker field and use Jira Automation to copy the user account out of your Assets object into it. Then, add that new helper field to your workflow's approval exclusion list. Just remember that you'll need global Jira Admin rights to edit workflow approvals, and be sure to set up a fallback routing rule in case the affected user happens to be the only listed approver on the ticket.
Best,
Arkadiusz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.