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

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

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


Page properties
hiddentrue


Function

<link to function being used>

Use case descriptionWhen the priority is changed, all sub-tasks will be updated accordingly.
Complexity

Status
colourGreen
titleBeginner





UI Steps

Image Modified Field Changed Event

Providing a description will help you to identify what the rule does but this step is optional.

<snippet>

UI Step

Create a new rule and name it appropriately.

UI Text Box
typetip



UI Step

Add a trigger and choose the Field Trigger → Field Changed Event

UI Steps


UI Step

Field*

Choose Priority


UI Step

Changed to*

Choose Any value



Image Modified Issue  Issue Selector

UI Step

Add SelectorIssue Selector → Sub-tasks

UI Text Box
typeinfo

No further configuration needed.


Image Modified Update  Update Field

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}


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





UI Step

Activate the rule by clicking on the Activate rule button  Image RemovedImage Removed<snippet>




Image ModifiedScreencast 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  Related examples

Page properties report
cqllabel = "use-case-auto" and space = "JWTSDC"


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue