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 the parent issue.

In our use case we want to automatically update the priority fieldWhen the priority is changed, all sub-tasks will be updated accordingly.


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

Field Changed Event

UI Step

Create a new rule and name it appropriately.


UI Text Box
typetip

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


No further configuration needed. The automation rule is triggered every time an issue is being transitioned

and select Any value.

UI Step

Add a trigger and choose the Field Changed Eventand , set the Field* to Priority

UI Text Box
typeinfo

Issue Selector

UI Step

Add SelectorIssue Selector → Sub-tasks

UI Text Box
typeinfo

No further configuration needed. The automation rule is triggered every time an issue is being transitioned.


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

Set Update to* to

Choose Value returned by parsed expression


UI Step

Parser Expression*

Code Block
linenumberstrue
%{trigger.issue.priority}


UI Text Box
typewarninginfo
Both basic and advanced parsing mode work for this expression.Make sure the Parsing mode is set to Advanced





UI Step

Activate the rule by clicking on the Activate rule button 




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
cqllabel = "use-case-auto" and space = "JWTSDC"



If you still have questions regarding this example or others, feel free to refer to our support team.