I succeed to add validators in "Simple scripted validator" for several custome fields in that way:
(cfValues["Occurrence"]?.value) && (cfValues["Detected by"]?.value) && (cfValues."Observed Behavior") && (cfValues."Expected Behavior")
Unfortunatly I didn't succeed to add here a check of the Affects version/s
Is somebody know the syntax to be used.
Thank you in advance for your help.
C.Maillé
You could try
(cfValues["Occurrence"]?.value) && (cfValues["Detected by"]?.value) && (cfValues."Observed Behavior") && (cfValues."Expected Behavior") && ( issue.affectedVersions != null)
Thank you very much for the information. In fact in between I found it.
The point is that in the screen we have "Affects Version/s" and here we have to use "affectedVersions"
same behavior for Fix Version/s and FixVersions
when for the other fields you have to use the name of the field.
Strange...
Thank you anyway...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.