I need to configure a workflow transition in such a way that if issue type is set to A then a custom field would be validated during a transition and if issue type is NOT set to A then no validation pops up.
So far i've managed to solve this by creating two separate transitions with their conditions set up in such a way that they would only be shown to users if Issue type has a corresponding value.
But i wonder if this could be configured within a single transition.
You will need a plugin to implement it in a single transition, it's pretty straightforward.
Within in a single transition you can achieve this functionality using following plugins - you can use Script runner plugin or Automation plugin or JMWE plugin for achieving
Some samples for validation scenarios using "Script runner" plugin - https://scriptrunner.adaptavist.com/4.3.4/jira/recipes/workflow/validators/simple-scripted-validators.html
For plugins go here - https://marketplace.atlassian.com/
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
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!
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