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).*
typeflat
separatorpipe



UI Text Box
sizemedium
typeinfo

Use case

Let us suppose you have a valid project property within the given context named endDate.

In the following use case the execution of the transition is only allowed, if the value in a custom date or date-time field  is greater or equal to the reference value stored in the project property.


Configuration

UI Steps


UI Step

Add the Logical validator to the desired workflow transition.


UI Step

Expression

Add the following expression:

Code Block
languagebash
linenumberstrue
{issue.cfnnnnn} >= stringToDate(projectProperty("endDate"), LOCAL)


UI Text Box
typeinfo

Replace cfnnnnn with the actual field code of the custom date or date-time field.





Screenshots


Related use cases

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Parser functions, Label
sortByTitle
cqllabel = "use-case-workflow" and ancestor in ("27066629","32215720")


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Workflow function

Logical validator

Logical condition

Use case descriptionShow project property value in the validation message
Parser functions

stringToDate()

projectProperty()

Label



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