I have a workflow which sets field Flagged=Impediment and another which removes it (also Label=Blocked as temporary solution)
I want to restrict transitions to only when Flagged is empty string however the Flagged field is not listed in the workflow transition rule editor :( (I am having to use the Label=Blocked)
I currently have the restriction working on Label=Blocked but the label can be removed by anyone making the restriction useless
Hello @Atta.Khalid
Do you work in a company or team-managed project?
If you are in a company-mangaed project, then you can switch to the old workflow editor. In the old editor, you can use the
Regular Expression Check Validator
For regular expression simply choose: false
Or if you want to use conditions, then there is the Value Field condition, again, as a value set: false
If you have more complex logic or want a better validation message, you could use a Jira expression-based validator provided by one of the apps on the marketplace.
I am from Forgappify, and we developed Jira Expression Validator, which is part of the Workflow Building Blocks for Jira app.
The expression you need is as follows:
issue.flagged != true
I hope this is helpful for you, regards!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.