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.
🛠️ Configuration
Field changed event
Create a new rule and name it appropriately.
Providing a description will help you to identify what the rule does but this step is optional.
Add a Trigger → Field Changed Event
Field
Choose Priority
Changed to
Choose Any value
Issue selector
Add Selector → Issue selector → Sub-tasks
No further configuration needed.
Update field configuration
Next to Issue selector click on Add → Action → Update Field
Field
Choose Priority
Update to
Choose Value returned by parsed expression
Parser Expression
%{trigger.issue.priority}
# Since we want to get the value from that issue that is triggering the rule, we add the "trigger" prefix.
Both basic text and advanced text parsing modes work for this expression.
Enable the rule by clicking on the Enable button
📹 Screencast
This is how the configuration above should look on your screen
📤 Import the example
Import the JSON file below to get started in no time