How to add a comment to parent issue of subtask when status of subtask have been chaged ?

Nikita Simanenkov May 3, 2022

Hi guys,

 

please help me set an automation. 

 

When subtask status have been changed

And subtask type is equal "X"

Then comment "Y" is added to parent issue. 

 

Thank you in advanced. 

1 answer

1 vote
Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 3, 2022

Hi @Nikita Simanenkov 

You can do this with an automation rule:

  • TRIGGER - Issue transitioned
  • CONDITION - Your Sub-Task Type condition
  • BRANCH - Parent
    • ACTION - Add Comment
rupen.deshpande
Contributor
June 9, 2022

hi @Mark Segall ,
Adding to Nikita's question.


Is it also possible to get the status and other field values of the specific sub-task to add into the comment for the parent?


We have parents that are service requests created by users through Jira portal, we then create multiple sub-tasks to be assigned to various departments. When particular sub-task is resolved/closed, we want to notify the requestor on the status of that sub-task, to keep them updated on the progress.

Thanks in advance.

Like # people like this
elizabeth.lavely January 27, 2025

Hi there Rupen, 

Did you ever get an answer or solution to the question you posed here? I would like to use this functionality as well.

rupen.deshpande
Contributor
January 27, 2025

Hi @elizabeth.lavely , 
Yes. I managed to do it within the comment. 
I have multiple sub-tasks for each parent. So, I am just providing the status of each subtask every time any of the sub-tasks are updated. 

Something like this

{{#issue.subtasks}}
| {{key}} | {{summary}} | {{status.name.toUpperCase()}} | {{assignee.displayName}} |
{{/}}

 

Like elizabeth.lavely likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events