I create an approve step in my workflow. But now when people create the ticket, he can choose himself as the approve people, this is not allowed in my company.
How can I config the workflow? I want limit the approve people, if you create a ticket, you can't be the approve of this ticket.
Welcome to the community. It is my understanding that you will need a 3rd party add-on to modify the WF at issue creation time where user keys the person for the approver field by adding an validator check against the value selected for the approver field is not the reporter. Only then the issue will be created.
Here are the two add-ons that you can try it out (both are excellent add-on to have for any Jira/JSM implementation in my professional experiences)
ScriptRunner for Jira - https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?tab=overview&hosting=cloud
Jira Misc Workflow Extensions (JMWE) - https://marketplace.atlassian.com/apps/292/jira-misc-workflow-extensions-jmwe?tab=overview&hosting=cloud
Those two add-ons provides many buildings components which can makes your customization tasks easier and with little or no coding required.
Hope this helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Infrastructure Applications Team
The 2020 acquisition of Mindville added powerful asset and configuration management capabilities to Jira Service Management in the form of Insight. Following the completion of that integration, custo...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events