How to add validation on Resolution field ?

Suresh December 8, 2014

Hi Jamie Echlin,

Nice to meet you here.

I need to validate –>  cfValues['Resolution']?.value == 'Fixed' . But The validation is working for all Resolution values.

Main validation is when issue Resolution = Fixed it should not allow transition. But it should allow to all other resolution values.

Best Regards,

Suresh

 

2 answers

1 accepted

0 votes
Answer accepted
Suresh December 8, 2014

Thanks Brand,

I already tired this and worked.

issue.resolution?.name != 'Fixed' .

0 votes
Udo Brand
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.
December 8, 2014

Resolution is not a custom field, so cfValues will not work I guess.

Please check the third example on this site: https://jamieechlin.atlassian.net/wiki/display/GRV/Validators

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events