Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel

On this page

Table of Contents
exclude(On this page|Use case).*
stylecircle
typeflat
separatorpipe

UI Text Box
sizemedium
typeinfo

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 additionalerror message when using a validator.

Configuration

UI Steps
UI Step

Jira expression*

Code Block
linenumberstrue
issue.sprint.state != "active"

The current issue must not be in an active sprint.

UI Step

Variations

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

Jira expression*

Code Block
linenumberstrue
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

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Use case description, Complexity
sortByTitle
cqllabel = "use-case" and label = "jira_expression" and space = currentSpace()


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue

Page properties
hiddentrue
JWT feature

Workflow function

Jira expression condition

Jira expression validator

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 additionalerror message when using a validator.

Complexity

Status
colourGreen
titlebeginner