Build-your-own (scripted) Validator

Nodar Vardiashvili April 3, 2020

Hi, I try to write my own scripted validator in JMWE. 

when user create ticket and choose active sprint I want to show error message.


I dont know how use jira expression



1 answer

1 vote
David Fischer
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 3, 2020


did you read the documentation for writing Conditions and Validators in JMWE for Jira Cloud?

There is no "openSprints()" function in Jira expressions. However, to test whether the issue is in an open sprint, you can do:

issue.sprint != null && (issue.sprint.state == "active" || issue.sprint.state == "future")

Suggest an answer

Log in or Sign up to answer