Hello,
I want to make a linked Issue Field required during a transition based on Custom field value.
Here I had a custom field single select "Opinion" have 'will do' 'will not do' 'future'
During the Transition, if the Opinion is 'will do' then we need to provide required Links in Linked Issue field or else should throw an error, whereas if we select any other value (will not do or future) Transition should go forward without asking any link to fill in.
Does this work? please advice,
if (cfValues['Opinion'] == 'Will do' && cfValues['Link to Release ticket'] !== 'null') return false; else return true;
Or
if (cfValues['Decision'] == 'Will Implement' && cfValues['Link To Release ticket'] !== 'null');
else
(cfValues['Decision’]*.value in [‘will not’, ‘future’] && cfValues['Link To Release ticket'] == 'null');
Thanks.