Hi,
I'd like to add a validator that checks the following:
If the user sets the select list field 'Liefertreuerelevanz' to 'Ja' exactly one issue by the type of 'Liefertreue KPI' must be linked to carry out the transition.
If no issue is linked, I'd like to show an error message.
Thanks for your help.
I added a validator with the following code:
if (cfValues['Liefertreuerelevanz']?.value == 'Ja') {
return issueLinkManager.getOutwardLinks(issue.getId())*.issueLinkType.name.contains('Liefertreue KPI')
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.