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

Create an issue after transitioning an epic and update its Epic Link field to link it to the transitioned epic.



Configuration

UI Steps


UI Step

Add a Create issue post function to the desired workflow transition.

UI Text Box
typetip

The Create transition might be here the best choice. When added to the Create transition, the post function will be automatically executed each time that an issue is created.



UI Step

Issues to be created

UI Steps


UI Step

Mode

Choose Single issue



UI Step

Issue type

Choose Selected issue type → Task



UI Step

Summary

Enter any expression that suits your needs.

Code Block
languagebash
linenumberstrue
Issue under epic








UI Step

Additional options

UI Steps


UI Step

Choose the Epic Link field.


UI Step

Value

Select Select field value manually (parser expression).



UI Step

Expression

Write the following expression with the expression editor in Basic text mode.

Code Block
languagebash
linenumberstrue
%{issue.key}


UI Expand
expandedtrue
titleVariation

If the transitioned issue is an issue under the epic instead of the epic itself, you could use this expression in Advanced text mode to inherit the Epic Link field value.

Code Block
languagebash
linenumberstrue
toString(epic())






UI Step

Conditional execution

Use the following expression.

Code Block
languagebash
linenumberstrue
%{issue.issueType}="Epic"


UI Text Box
typenote

This expression evaluates if the issue type of the issue that executes the transition is Epic. If it is needed that other issues with different issue types execute the post function, the expression for the conditional execution should be adjusted.






Related use cases

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


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Workflow function

Create issue

Parser functionstoString() epic()
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