Versions Compared

Key

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


Page properties
hiddentrue


Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

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



Panel

On this page

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


Page properties
hiddentrue


Automated action

Update Field

Use case descriptionWhen the priority of a parent issue is updated, all sub-tasks will be updated accordingly.
Complexity

Status
colourGreen
titleBeginner




UI Text Box
sizemedium
typeinfo

Use case

Often it is necessary to keep parent issues and sub-tasks in sync. To do so, the following automation rule comes with a handy configuration that automatically updates specific sub-tasks' field values with their corresponding parent issue's value.

In our use case we want to automatically update the priority field.




UI Steps

Field changed event

UI Step

Excerpt Include
DECADIS:Automation Use Case - Create Rule Step
DECADIS:Automation Use Case - Create Rule Step
nopaneltrue



UI Step

Add a Trigger → Field Changed Event

UI Steps


UI Step

Field*

Choose Priority


UI Step

Changed to*

Choose Any value



Issue selector

UI Step

Add SelectorIssue selector → Sub-tasks

UI Text Box
typeinfo

No further configuration needed.


 Update field configration

UI Step


UI Steps


UI Step

Next to Issue selector click on Add → Action → Update Field


UI Step

Field*

Choose Priority


UI Step

Update to*

Choose Value returned by parsed expression


UI Step

Parser Expression*

Code Block
linenumberstrue
%{trigger.issue.priority}
# Since we want to get the value from that issue that is triggering the rule, we add the "trigger" prefix.


UI Text Box
typeinfo
Both basic and advanced parsing modes work for this expression.





UI Step
Excerpt Include
DECADIS:Automation Use Case - Enable Rule
DECADIS:Automation Use Case - Enable Rule
nopaneltrue




Screencast

This is how the configuration above should look on your screen

Multimedia
namekeep_priority_of_parents_and_sub-tasks_in_sync.mp4
width700


Related examples

Page properties report
firstcolumnUse case
headingsAutomated action, Use case description, Complexity
cqllabel = "use-case-auto" and label = "update-field" and space = "JWTSDCAUTOMATION"


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue