Forums

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

Trying to copy comments from task to linked Epic

Mohit Jain
Contributor
November 23, 2023

Hi

 We have created an automation rule where we are creating multiple task when status changed to "In progress" from "To do". It is working fine.

 

Task is having link established with Epic : is child task of

Now we are trying to create an automation rule where when anyone put some comments in task it will flow to Epic.

Steps followed:

 

1. Issue commented: All comments

2. Issue type equals : Task

3. Branch created : parent also tried linked issues

4. Then add comment on issue: triggeissue.comments.last.body in curly brackets.

 

I am getting error message ..branch step

 

Error searching related issues. This is most likely because the following issue don't have related issue of the type you specified.

Please guide...

1 answer

2 votes
Walter Buggenhout
Community Champion
November 23, 2023

Hi @Mohit Jain,

Have you tried a branch for Epic (Parent)? To make sure your task is indeed linked to an epic, you could even include an additional condition that validates the presence of an epic before stepping into the branch part.

Hope this helps! 

Mohit Jain
Contributor
November 23, 2023

@Walter Buggenhout I tried this option as well...I have tried some other options...but same result 😞

 

You mentioned additional condition, could you please elaborate more...I am new to tool..🙏 


Walter Buggenhout
Community Champion
November 23, 2023

Sure, could you share a screenshot of your current automation rule? That might help a lot to find out what is missing.

Walter Buggenhout
Community Champion
November 23, 2023

@Mohit Jain , I just successfully tested the following on my test instance:

2023-11-23 12_33_33-Automation - Jira.png

note: my test project is company managed. 

Like Bill Sheboy likes this
Mohit Jain
Contributor
November 23, 2023

@Walter Buggenhout    

Thank you so much...Mine also is company managed one...I can see you have one additional step of checking EPIC exist or not..

Let me check and come back you by tomorrow... hopefully post that I will able to copy comments from task to Parent Epic..


Mohit Jain
Contributor
November 24, 2023

@Walter Buggenhout 

 

Hi Walter 

I have tried replicating same but getting error.

 

Upon reading error message, related condition is fetching same task in place of Epic...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events