Hello,
I am trying to setup a validator in JIRA. If the work item type is "DB Object Mig - Index Request", I need a particular check box to be checked mandatorily before moving to the next status. But the code below is making the field mandatory for all the work item types. All 4 work item types that I am referring to here uses the same work flow and the check box is shared by all of them. Can someone suggest whats wrong here
(issue.issueTypeObject.name == 'DB Object Mig - Index Request' && cfValues['BG Impact Review Completed']*.value.contains("Yes"))
Can you break that into the two component parts, and try them individually to see which is the issue. What type of field is BG Impact...? Please use scriptrunner label too in future.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.