On this page

Use case

Make sure that an issue is not in an active sprint.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Configuration

Jira expression*

issue.sprint.state != "active"

The current issue must not be in an active sprint.

Variations

You can easily modify this use case to include/exclude additional parameters.

Jira expression*

issue.sprint.state == "active" && issue.sprint.endDate > =  new Date(new Date().getTime() - 60 * 60 * 24 *1000 * 3)

The sprint end date must not be in the next three days.


Related examples


If you still have questions, feel free to refer to our support team.