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

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?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events