Edit issue screen validation

Pumper1 January 4, 2018

hi,

How i can validate edit issue screen custom fields?

1 answer

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 4, 2018

Hello,

Could you give more details on the validation you need.

Pumper1 January 5, 2018

I have many fields cascading type, and wont to validate two select lists. In transition screen i do it with : 

cfValues['Cascading type field']?.values()*.value.size() == 2

but how i can validate it in edit screen?  

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 5, 2018

Do you mean that you use ScriptRunner behaviour plugin? If so, by default your code must work in all screens. There is nothing to change

Pumper1 January 17, 2018

But it doesn't works

shrikant maheshwari March 24, 2022

yes it does not work.

Could some one please suggest how we can have a valdiation on EDIT screen using behaviour plugin ?

Suggest an answer

Log in or Sign up to answer