Hello. I'm using Jira misc workflow extensions for JIRA cloud. I want to show an error under the following condition using the build your own validator:
IF a radio button == "No" && Userpicker is NOT empty, display error
I've tried the following, but it doesn't seem to work properly, it shows the error even if the radio is set to yes:
12449 = radio button custom field
12465 = user picker custom field
(!issue.customfield_12449 && issue.customfield_12449.value == "No") && (! issue.customfield_12465 || ! issue.customfield_12465.accountId)
Hi @Daniel Burris ,
I believe what you need is:
!issue.customfield_12449 || issue.customfield_12449.value != "No" || ! issue.customfield_12465
Thanks, I had to change the fields around on my end, but the above worked perfectly. Thanks!
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.