Hi , I have a scenario where I have to restrict the state change of jira ticket when the field values of 'Reporter' and 'Approver' is same.
For example, I have a workflow, where when a ticket is raised is in 'Pending Approval' state and limited members can change their state to 'Approved' or 'Rejected'. So the Reporter has to mention the person's name in custom field 'Approver'.
So I need to put the restriction that if the reporter and Approver is the same person, he/she should not be able to change the state of the ticket.
Thanks
You will need a custom validator for the transition. You will need an add-on like JMWE or ScriptRunner.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.