Forums

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

Validator for Blocking Transition when work log is not set

Selcuk Tayar September 11, 2023

Hello I want to use a scriptrunner script which prevents the transition to "Done" if some requirements are not met.

 

if my depreciation custom field is set to "yes"

 

the work log needs to be filled in order to execute the transition to "done"

 

Thank you in advance

1 answer

0 votes
Evgenii
Community Champion
September 11, 2023

Hi, @Selcuk Tayar 

Sure, it is possible

You can use SR validator, on necessary transition. I used another field for example, you have to select what you need.

Screenshot_8.jpgScreenshot_9.jpg

This validator checks, that value of field is not empty.

If you want to check for field value, validator will look slightly different.

Suggest an answer

Log in or Sign up to answer