On this page
Use case
Copy every new comment added to the parent issue to its sub-tasks.
Configuration
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.
Issue event
Add a Trigger
Select Issue event and Issue commented
Boolean condition
Add a condition
Select Boolean condition
Expression
Add the following expression to the boolean condition.
%{issue.project.key} = "CASE" and %{issue.issueType} ="Task"
This boolean condition will restrict the range of the automation rule to the desired issues. In this use case we restrict it to the issues in the project CASE with the issue type Task.
Issue selector
Add a selector
Select Issue selector
Target issue(s)
Select Sub-tasks
Add comment action
Add an action
Select the action Add comment
Comment text
Write the following expression.
%{trigger.issue.lastComment}
Import the example
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.