get updates from linked issues through automation

Teodor Hoza
Contributor
October 15, 2021

Hi I'm trying to set an automation that should get all the updates from linked issues to the current issues.
Details: 
Let's say there are 2 software projects, project A and B.
in Project A a new issue will be created, then the issue will be cloned in project B.

When there's any updated in the cloned issue from Project B I would like to see the updates on the issue created in project A. 

Does anyone have any idea how to, or if it's possible to create such a rule?

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
Alex
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 15, 2021

Hi, @Teodor Hoza welcome to the community!

 

Based on your description I have created similar rules for my clients. I believe this structure can give you guidance:

1st Rule: Clone to Project B

When: Issue Created

If: Project equals Project A

Then: Clone issue into Project B

  • Define an issue link type that will be used in 2nd rule

Screen Shot 2021-10-15 at 10.32.49 AM.png

2nd Rule: Sync to Project A

When: Issue Updated

If: Project equals Project B

Branch rule / related issues: Linked issues Types: <linking issue type from 1st rule>

Then: Edit issue Fields  <Copy from Trigger issue>

Screen Shot 2021-10-15 at 10.31.50 AM.png

 

I hope it helps. If this answer helps solve the problem, please come back and mark this answer as solved to help other community members with the same challenge. If not, you are welcome to share your solution as well.

Cheers,

Alex

Teodor Hoza
Contributor
October 18, 2021

The only issue is that it won't allow me to run this, as I'm trying to avoid creating global rules, so I went for the HTTP REQUEST approach which suits me better but the downside is that I will have to make clones of this automation rule.

Capture.PNG

However Alex, your approach is very useful, therefore I will accept your answer!

Like Alex likes this
TAGS
AUG Leaders

Atlassian Community Events