When a comment is provided in task, want the same comment to be automatically added in the Linked or Associated EPIC
Hi Alagu,
You can achieve this easily using Jira Automation 👇
Steps:
{{comment.body}}
This will automatically post the same comment from the Task to its linked or parent Epic.
Bonus tip:If you want to include the Task key and author in the comment for context, you can use:
Comment from {{issue.key}} by {{comment.author.displayName}}: {{comment.body}}
Â
Hi @Alagu Murugan KrishnanYou can do this via automation:Trigger: Issue CommentedCondition(Not Required): Issuetype in (Task, Story)Branch: Branch rule / related issues → Epic (parent) or Linked issuesAction: Edit Comment --> Put this {{comment.body}}
It is recommended to use the following structure for clarity and traceability.Comment from {{issue.key}} ({{issue.summary}}) by {{comment.author.displayName}}:{{comment.body}
Hello @Alagu Murugan KrishnanÂ
You can automate the archiving process using a rule with the following setup:
Trigger: When a work item is commented
Condition: Issue type = Task (for example) and the parent issue is not empty
Branch: For Parent
Action: Add a comment to the parent issue containing the smart value{{triggerIssue.comments.last.body}}
Good, however, the comment is not saying Assignee (Task assignee) comment, instead it says the admin (me) of the Kanban board commented in EPIC
My expectation is "Assignee" of the task who commented, should come in the EPICÂ also, as Assignee name comment and not as Admin comment..
Sorry but it would be perfect if Same assignee of the task who put comments in respective task, the same assignee name should come in EPIC as well. if possible this would be great.
My expectation is "Assignee" of the task who commented, should come in the EPICÂ also, as Assignee name comment and not as Admin comment. ->
The comment on the EPIC is performed by the automation, so the actor of the comment will always be the automation actorI recommend using a service account to avoid confusion.
Sorry but it would be perfect if Same assignee of the task who put comments in respective task, the same assignee name should come in EPIC as well. if possible this would be great.-> You can add a condition on your automation  {{triggerIssue.comments.last.author.accountId}} equals {{triggerIssue.assignee.accountId}}.
and add this smart value on action {{triggerIssue.comments.last.author.displayName}} to indicate who actually commented on the task item.
It looks like you're new here. Sign in or register to get started.