Ensure custom field is set before transitioning

All,

 

Currently we have a transition that goes from "IN WORK" --> "CLOSED". Our users click the "Send to Close"  button which then brings up a final screen to input additional information. Two field are supposed to be changed to  "Discrepancies = Closed" and "Open items = closed". Our users can currently click submit with these items open and this moves the issue to "Closed" on the workflow. Is there a way to implement a Validator of sorts that will not allow the transition until both of these 2 fields are changed to "Closed"? We want the users to be forced to change these items in the actual "Move to Close" screen. Thank you.

1 answer

Yes you can. There are a couple of add-ons that will allow you to add Validators to check if a certain field has either:

  • Been changed
  • Equals to something

...during a transition. Try searching the Atlassian Marketplace and see on what suit your needs. Start with JIRA Suite Utitliies, JIRA Misc Workflow Extension and/or JIRA ScriptRunner.

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,364 views 21 17
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you