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 validation in a transaction based on a project property and you want to use the value of this property in the validation message.

In the following use case the execution of the transition is only allowed, if the value in a custom date/ 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
{"Insert the code for a certain Date Picker or Date-Time Picker custom field"issue.cfnnnnn} >= stringToDate(projectProperty("finifacturacion"), LOCAL)


UI Text Box
typenoteinfo

Replace cfnnnnn with the actual field code of the custom date or date-time fieldThe numeric value for the Date Picker or Date-Time Picker custom field depends on each Jira instance.





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 functionLogical validator
Use case descriptionShow project property value in the validation message
Parser functions

stringToDate()

projectProperty()

Label



Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
colourGreen
titledone

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