Hello everyone,
i want to add a validator on the create transition of a workflow. For a request type a few fields should be marked as required when creating a request from the jira backlog (not the portal) no matter how i am configuring it it just won't work.
Everytime I am testing the validator while configuring it with existing issues it works. but when a new issue is created it just won't.
i have tried writing my own script via jmwe:
!(!!issue.customfield_10010 && issue.customfield_10010.requestType.id == '325' &&
(issue.customfield_10424 == null || issue.customfield_10414 == null || (! issue.customfield_10004 || ! issue.customfield_10004.value) || (! issue.customfield_10162 || ! issue.customfield_10162.value))
)
and I tried to add a validator for every single field (screenshot) nothing worked.
Can anybody help me?
Best regards
Simone