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

Veera
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

1 vote
Answer accepted
Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2025

Hi @Veera  Welcome to Atlassian Community!

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

Veera
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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