Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,535
Community Members
 
Community Events
165
Community Groups

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

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 Palanisamy Marketplace Partner May 26, 2022

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

0 votes
John M Funk Community Leader 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. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,113 views 34 44
Read article

Community Events

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

Events near you