It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

copy a comment from the parent to sub task

I have two projects Project A and Project B. When I receive a comment in a Project A from the customer that comment needs to be copied to its linked issue which is in project B. Can someone help me to automate this? 

1 answer

1 accepted

0 votes
Answer accepted

I've been doing that with automation for jira.

@fran garcia gomera 

Thanks for the response. Could you please explain me how that can be made.. 

of course:

automation.png

I explain and translate every step:

  1. WHEN... issue is commented (you could add a previous JQL filter if you don't want this to happen to every comment in the project)
  2. If happens: (in my case i have to check the kind of link and some data about the linked issue)
    1. there are linked issues of the type
    2. Those issues fit to some JQL
  3. For linked issues
  4. add comment to the linked issue (i check again first some data of the linked issue)

And that's all

Like Jai Vijay likes this

Hi @fran garcia gomera 

 

Thanks for the help. But I have an issue since my parent issue and linked issue belongs to a different project I am not able to execute this rule as the rule I created is getting applied only for the parent issue. When the rule is executed it ignores the condition. Hence I am getting the comments copied. Could you please help me out on this. Thanks in advance 

Hi @fran garcia gomera 

 

Please ignore the previous query, I figured it out and I was able to add multiple projects. Thanks a lot for helping me out with the Automation tool. 

Hi @fran garcia gomera 

 

The rule works fine. However, it copied the comments which I make to the client to the internal ticket. but it is not doing it vice versa. (It is not copying the comment what the client makes on the parent issue to the linked issue). Could you please help me to resolve this. 

You need another rule that goes on the opposite direction.

The automation should be preety much the same but you should change the pro ject where automation looks for changes and probably the type of link between the issues.

If you share the configuration of your automation rule, the comment could be less abstract

Hi @fran garcia gomera 

 

I think I made a confusion here. Let me try to explain it again. Consider we have Project A and project B (A is Parent and B is the linked one. ). In Project, I am making an update as "Hi Client, Please help me with an update" in Project A which is getting copied to Project B, If Client replies me Hi Jai, Please find the below update in the project A, that is not getting updated, and it is happening randomly where are some are getting updated and some or not, especially when the update has a screenshot. I know this is weird, but do we have any time frame that the rule takes to execute or it happens instantly once the trigger happens. 

share a screenshot of your automation rule so we can see exactly how you did it.

Also would be interesting knowing the type of link you have between the issues.

The problem is in

If project equals SDZ...

It makes things work only in one direction when you make the comment in the other project.

A simple solution could be adding the other  project right in that if statement

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

The add-in you’ve been waiting for: Jira Cloud for Excel 🙌

Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...

838 views 5 22
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you