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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.