Is it possible to check that code is committed in workflow validator?

Юрий_Пайков June 25, 2014

I know there is a 'code committed' condition, but I need to deny transitioning an issue if both code not committed and resolution is Fixed.
The resolution may be Unresolved before transition and is entered in the screen associated with this workflow transition, so I should always allow user to start this transition, but refuse to continue if user selects 'Fixed' on the associated Screen and no code is supplied. So I need a validator but cannolt find one
Does anybody know about a plugin which supports such a validator

1 answer

0 votes
Vijay Khacharia
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.
June 25, 2014

Hi,

By default it is not possible as there is no validator that does "Code Committed" check. You can try to find if it is possible to write by groovy script to check the code committed. I dint come across any example in goovy yet.

Vijay.

Suggest an answer

Log in or Sign up to answer