I don't have an option to install paid plug ins. So here is what I tried.
The Boolean expression {Priority} == "High" must evaluate to true .
The Boolean expression {Defect Root Cause} == "None" must evaluate to false .
Out of these two, the first validator works where as the defect root cause doesn't. Defect Root cause is a single select custom field. Is there any other way ( I cant use any paid plugins )
My requirement is that the user will be able to move to next status only if its value is other than None. Please let me know if there is any solution.
Oops, sorry, ignore my answer if you do not have Jira Worflow Toolbox
Hi Shriya
Not sure how you added the validator. Here is a process works from my side
1. Open and edit your workflow
2. Click the transaction you want to add validator and click add validator
3. Select "Boolean validator with math, date-time or text-string terms"
4. Found your customer filed "Defect Root Cause" in the "Text String Terms" and insert in the text editor, it should be something like %{00011} != "None", then add it, where 00011 is your custom field ID
Hi Daniel,
Thank you for the solution. This makes sense. Will try this and get back.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As you said, I could not try the "Boolean validator with math, date-time or text-string terms" as it isn't present. But I had an option to add it as 'Universal validator' which is also a Boolean expression. Added as %{10603} != "None", but it gave parsing issue and wasn't successful when tested. 10603 is my custom field ID.
So I tried as The Boolean expression "%{10603}" != "None" must evaluate to true .
But it didn't work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shriya
Different plugins behave in different ways. Are you using the plugin "Workflow Enhancer for Jira"? Hover your mouse on the "'Universal validator", you will see which plugin is being used.
If it is "Workflow Enhancer for Jira", please use {Defect Root Cause} = "None"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes the same plugin. I had tried this. It didn't work. The condition is never validated. So I had to try with regex validator.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jira doesn't do this natively, what plugin are you using to provide this functionality?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic, thanks for quick response. I could solve the issue for now for some extent with below regex validator:
Regex Validator
Let me know if you have a better solution. I cant buy any plugins for now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.