Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

when set simple script validator - fix version

jun lee
Contributor
March 10, 2022

How can I set fix verion validation from simple script validator?

cfValues['FixVersions']?.value != ''

cfValues['Fix Versions']?.value != ''

cfValues['Fix Version/s']?.value != ''

All above are displaying error message (x).

script.jpg

 

When I set as issue.FixVersions != '', it dosen't work correctly. 

I want following condition.

  : FixVersions is empty -> workflow transition

  : FixVersions is not empty -> validate required custom field

1 answer

Suggest an answer

Log in or Sign up to answer