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

When the 'Number field' custom field is changed in a sub-task, the corresponding field in the parent, representing the sum of those field values, gets updated with the updated result.


Page properties
hiddentrue


Function

<link to function being used>

Use case description

When the 'Number field' custom field is changed in a sub-task, the corresponding field in the parent, representing the sum of those field values, gets updated with the updated result.

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.


UI Step

Add a trigger and choose the Field Changed Event


UI Step

Choose Number Field in Fields* and Any value in Changed to*

UI Text Box
typeinfo

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


 Issue Selector

UI Step

Add SelectorIssue Selector


UI Step
Target Issue(s)*: Parent Issue

 Update Field

UI Step

Add ActionUpdate Field

UI Steps


UI Step

Field*: Number Field


UI Step

Update to*: Value returned by parsed expression


UI Step

Parser Expression*

Set it to Advanced and use the following expression:

Code Block
sum(fieldValue({issue.cfNNNNN}, subtasks()))


UI Text Box
typenote

NNNNN is the field code for the field to be summed up.





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
nameupdate_summed_up_value_in_parent_issue_on_field_changed_in_sub-task.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.

Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue