The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to restrict status change of jira ticket in specific conditions?

Vasundhara Verma
May 25, 2022

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

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Prakash
Atlassian Partner
May 26, 2022

Hi @Vasundhara Verma You can use "Validators" in Jira workflow.

0 votes
John Funk
Community Champion
May 26, 2022

Hi @Vasundhara Verma 

You will need a custom validator for the transition. You will need an add-on like JMWE or ScriptRunner. 

John Funk
Community Champion
February 5, 2023

Hi @Vasundhara Verma  - Did you ever get this solved?

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events