You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

On this page

Use case details
Function

Jira expression condition

Jira expression validator

Type

ConditionValidator

Use case description

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.

Complexity

BEGINNER



Configuration stepsConfiguration steps


Definition of basic (required) parameters

ParameterValue(s) / Steps to set value(s)Notes

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.

ParameterValue(s) / Steps to set value(s)Notes

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