Forums

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

Hide transition screen pop-ul if custom field has a value

Albert Manuel
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.
October 4, 2021

Hi there,

 

I have a workflow where i set up on all the transitions a Scriptrunner simple script validator, to make sure users actually choose a value on a custom field.

The script looks like this:

if (cfValues['My field']?.value == "Not defined" ){
return false
}
else if (cfValues['Myfield']?.value == null){
return false
}
else{
return true
}

 

It is somehow possible if users have selected a value in our custom field, to NOT show the pop-up screen when transitioning to the next status?

0 answers

Suggest an answer

Log in or Sign up to answer