On this page
Use case
Inherit the value of a field of a parent issue that belongs to the upper levels of the Advanced Roadmaps hierarchy when an issue is added under it.
Configuration
Field changed event
Add a Trigger → Field Changed Event
Field
Choose Parent Link
Changed to
Choose Any value
Boolean condition
Add a Condition → Boolean Condition
Expression
Introduce a boolean condition as the following one.
%{trigger.issue.project.key} = "PKEY"
Although it is not essential, a boolean condition can be useful to restrict the scope of the automation rule.
Update field action
Next to Issue selector click on Add → Action → Update Field
Field
Choose Priority
Update to
Choose Value returned by parsed expression
Parser Expression
Introduce the following expression in the expression editor in Advanced text mode after replacing the field code with the appropriate one.
first(fieldValue(%{trigger.issue.cf10302}, parent()))
Import rule
Import the JSON file below to get started in no time.
Related use cases
If you still have questions, feel free to refer to our support team.