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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Alagu Murugan Krishnan
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 actor
I 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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Alagu Murugan Krishnan
You can do this via automation:
Trigger: Issue Commented
Condition(Not Required): Issuetype in (Task, Story)
Branch: Branch rule / related issues → Epic (parent) or Linked issues
Action: 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}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.