Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,368,493
Community Members
 
Community Events
168
Community Groups

Build-your-own (scripted) Validator

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

 

Screenshot_2.png

1 answer

1 vote

Hi,

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
TAGS

Atlassian Community Events