On this page
Use case
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 a project with a certain issue type.
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}
Related use cases
STAFF PICK STAFF PICKUse case JWT feature Workflow function Parser functions Label Add comment after seven days in the same status Copy the parent issue comments to its sub-tasks Notify assignees when components are merged Notify the project lead on priority changes Re-assign issues and leave a comment Remind users to close inactive issues Update assignee and reporter to facilitate user deletion
If you still have questions, feel free to refer to our support team.