Versions Compared

Key

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


Panel

On this page

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



UI Text Box
sizemedium
typeinfo

Use case

Allow certain workflow transitions in "on an issue A" only if all their its sub-tasks have a value on custom fields "user" and "date" due date set.


Configuration

UI Steps


UI Step

Add the Logical validator to the desired workflow transition.


UI Step

Expression

*

Add the following expression:

info
Code Block
languagebash
linenumberstrue
count(filterByPredicate(subtasks(), ^%{issue.cfnnnnn} != null and ^{function.issue.dueDate} != null)) = count(subtasks())
UI Text Box
type

Replace ^%{issue.cfnnnnn} with the actual field code of the custom field.





Screenshots

Image Added


Related use cases

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


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Workflow function

Logical validator

Logical condition

Use case descriptionAllow a transition only if all sub-tasks have specific fields populated
Parser functions

count()

filterByPredicate()

subtasks()

Label

Status
colourRed
titlestaff pick



Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titletododone

Style guide

Status
colourGreen
titletododone

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