Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automatically copy a comment in subtask to epic - (how) can I include the original task number?

Veera February 11, 2025

Hi all!

I've created an automation in Jira to replicate all comments left to subtasks to their linked epic with following information (using smart values):


A new comment has been added to a subtask.

{{comment.author.displayName}}

{{comment.created}}

 

Contents:

{{comment.body}}


This part works fine, but. Is there a way to get the original task number (where the comment has been originally posted to) included in the comment in epic?

So:

A new comment has been added to a subtask (KEY OF THE ORIGINAL TASK).


So far I've only been able to replicate the epic number to the comment in epic with issue.key.

I'm working with project administrator rights.

1 answer

1 accepted

3 votes
Answer accepted
Vikrant Yadav
Community Champion
February 11, 2025

Hi @Veera  Welcome to Atlassian Community!

You can use this smartvalue to get Issue key of a sub-task : {{triggerIssue}}

Veera February 11, 2025

Oh my god, thank you! I feel a bit stupid now. :D

Like Vikrant Yadav likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events