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

In this use case, we will prevent the creation of sub-tasks when the parent issue of the sub-tasks is in any status different from the one that we specify.


Configuration

UI Steps


UI Step

Add the Logical validator to the Create workflow transition.


UI Step

Expression

Add the following expression replacing the name of the status with the status of your choice:

Code Block
languagebash
linenumberstrue
%{parent.key} != null IMPLIES %{parent.status} =~ "In Progress"


UI Text Box
typeinfo

With this solution the user will get an error message when he clicks on Create after filling up the creation screen. A solution that prevents the user from filling up the sub-task’s creation screen is not possible.



UI Step

Error message

Add an error message as the following one.

Code Block
languagebash
linenumberstrue
Sub-tasks can only be created when the parent issue is in the status In progress.






Related use cases

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


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Workflow function

Logical validator

Parser functions
Label



Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
titletodo

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