I wish to add a validator with jira expression. Want to make sure the issue is in an active sprint.
I was trying sprint.state == 'ACTIVE' but it does not work.
Does anyone can help with the correct syntax.
I am using ScriptRunner to have this validator in the transition.
Hi @Hadas Hamerovv, in this case, you should use the following:
issue.sprint.state == 'active'
Have a look at Example validators (ScriptRunner) to learn more about how you can use validators.
I hope that helps.
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.