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

Copy the values of the fields defined in the Update fields post-function to the issues under the epic after their creation.

This chain of post functions will update the fields of all of the issues under the epic every time a new one is added to the epic during its creation.


Prerequisites

UI Expand
titleGlobal reflexive transition


ui-stepsteps


ui-stepsstep

Create a global reflexive transition (a transition from any issue to itself).





Configuration

UI Steps


UI Step

Add the Update fields post function to a global reflexive transition and configure it as follows:

UI Steps


UI Step

Target issue*

Select Parser expression and write the following expression with the expression editor in General parsing mode.

Code Block
languagebash
linenumberstrue
%{issuesUnderEpic()}


UI Text Box
typetip

In order to update only the issues that are in the To Do status, you can use this other expression.

Code Block
languagebash
linenumberstrue
%{filterByStatus(issuesUnderEpic(), "To Do")}




UI Step

Fields

Select the fields that you want to copy from the epic to the issues under it and configure them as desired.




UI Step

Add the Transition issue post function to the Create transition in the second position and configure it as follows.

UI Steps


UI Step

Target issue

Select Parser expression and write the following expression with the expression editor in General parsing mode.


Code Block
languagebash
 %{epic()}



UI Step

Mode

Select Execute transition and choose the global reflexive transition that contains the Update fields post function.


UI Step

Conditional execution

Write the following conditional execution with the expression editor in Logical parsing mode.

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








Related use cases

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Parser functions, Label
sortByTitle
cqllabel = "use-case" and ancestor = "38569498" and space = currentSpace()


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Workflow functionUpdate fields Transition issue
Parser functions

epic()

issuesUnderEpic()

filterByStatus()

Label
Use case description

Copy the values of the fields defined in the Update fields post-function to the issues under the epic after their creation.

Complexity

Status
colourGreen
titleBeginner




Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
colourGreen
titletododone

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


...