Forums

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

copy a comment from the parent to sub task

Jai Vijay September 26, 2019

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
fran garcia gomera
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 27, 2019

I've been doing that with automation for jira.

Jai Vijay September 27, 2019

@fran garcia gomera 

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

fran garcia gomera
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 27, 2019

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
Jai Vijay October 2, 2019

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 

Jai Vijay October 2, 2019

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. 

fran garcia gomera
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 2, 2019

Glad to help

Jai Vijay October 3, 2019

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. 

fran garcia gomera
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 3, 2019

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

Jai Vijay October 3, 2019

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. 

fran garcia gomera
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 4, 2019

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.

Jai Vijay October 4, 2019
fran garcia gomera
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 4, 2019

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
TAGS
AUG Leaders

Atlassian Community Events