Versions Compared

Key

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


Panel

On this page

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



UI Text Box
sizemedium
typeinfo

Use case

Create a sub-task only if the priority of the current issue is "High".

Page properties
hiddentrue
Function Create issue
Type

Image Removed

Use case description

Create a sub-task only if the priority of the current issue is "High".

Complexity
Status
colourGrey
titleintermediate



Configuration steps

UI Steps


UI Step

Mode*

Choose Single issue.


UI Step

Issue type*

Choose Selected issue type and Sub-task as its value.

Expand
titlemore info...


UI Text Box
typeinfo

The issue type to be created is being set to Sub-task.



UI Text Box
typenote

The issue type must be present in your system.



UI Step

Parent issue*

Select current issue.

Expand
titlemore info...


UI Text Box
typeinfo

Thesub-task will be created under thecurrent issue.




UI Step

Summary*

Insert the following expression:

Code Block
linenumberstrue
Escalation of %{issue.key}


Expand
titlemore info...


UI Text Box
typeinfo

A generic summary indicating that the bug needs to be classified.




UI Step

Description

Insert the following expression:

Code Block
linenumberstrue
This sub-task was automatically created because the parent issue %{issue.key} had a priority of High at the time of creation.

In case doubts or concerns do not hesitate to contact %{system.currentUser}.


Expand
titlemore info...


UI Text Box
typeinfo

The description links to the current issue key.

The syntax used for the mention guarantees that a working user mention is added to the comment regardless of personal Atlassian account settings of the mentioned user.




UI Step

Run as*

Choose which user* will be able to execute the post function. By default, it is set to the Current user.


UI Step

Conditional execution

Insert the following expression:

Code Block
linenumberstrue
%{issue.priority} = "High"


UI Text Box
typenote

The sub-task will only be created if the current issue (parent) has a priority of " High".





Related examples

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


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Image Added

Workflow functionCreate issue
Parser functions
Label
Use case description

Create a sub-task only if the priority of the current issue is "High".

Complexity

Status
colourGrey
titleintermediate