Versions Compared

Key

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


Panel

On this page

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



UI Text Box
sizemedium
typeinfo

Use case

Check the number of times that a field has changed.

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
languagebash
linenumberstrue
issue.changelogs.filter(element => element.items.some(item => item.fieldId == 'labels')).length > 0

The number of all changes of the FieldID = "labels" is greater than zero.



UI Expand
titleVariations


UI Step

Jira expression*

Code Block
languagebash
linenumberstrue
issue.changelogs.length > 0

The number of all changes is greater than zero.



UI Step

Jira expression*

Code Block
languagebash
linenumberstrue
issue.changelogs.filter(element => element.created > new Date().minusMinutes(5)).length > 0

The number of all changes in the last 5 minutes is greater than zero.



UI Step

Jira expression*

Code Block
languagebash
linenumberstrue
issue.changelogs.filter(element => element.items.some(item => item.fieldId == 'labels') && element.created > new Date().minusMinutes(5)).length > 0

The number of all changes of the FieldID = "labels" from the last 5 minutes is greater than zero.







Related use cases

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Parser functions, Label
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 descriptionCheck the number of times that a field has changed.

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
colourGrey
titleIntermediate




Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged