Forums

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

How to do an automation for linking issues when adding a parent between two projects?

Janne Jääskä September 19, 2023

Some background information:

  • Project A hosts Epics and Tasks
  • Project B hosts Initiatives (Initiatives are done through epics in multiple projects, and for clarity's sake I'm only mentioning one project where the Epics are)
  • Epics are the child issues for the Initiatives in Project B
  • We want to have the Epics as Child Issues and as blocking issues for the Initiative to facilitate the use of the timeline and dependency report in Advanced Roadmaps

I'm trying to automate the following:

  • Parent Link added by the user to an Epic in Project A
    • Parent is an Initiative in Project B
  • Add an "Is blocked by" Issue Link to the Initiative from the trigger issue

I've tried the following automation in Project A:

  • When: Value changes for Parent Link
  • For: Parent
  • Then: Edit issue files
    • Linked Issues
      • Is blocked by: Trigger issue

This does not create the link between the Epic and Initiative. I've added both of the projects as the Scope for the Automation.

Any thoughts on how to get the Automation working?

Thanks.

1 answer

1 accepted

0 votes
Answer accepted
Francis Batilo
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 19, 2023

Hi @Janne Jääskä

Can you share us a screenshot of your Automation rule as well as the audit log of a sample test case that you've initiated?

Cheers,
Francis

Janne Jääskä September 19, 2023

Hi @Francis Batilo 

Thanks for the quick reply. Here's screenshots for all of the automation rules I'm using + audit log.

Screenshot 2023-09-20 at 9.19.43.pngScreenshot 2023-09-20 at 9.19.53.png

Screenshot 2023-09-20 at 9.19.53.png

Janne Jääskä September 19, 2023

And the audit log, I don't know where that disappeared to.

Screenshot 2023-09-20 at 9.20.03.png

-Janne

Francis Batilo
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 20, 2023

@Janne Jääskä ,

Thanks for providing the screenshots. From what I've gathered, the Parent Branch feature is used for identifying the parent of a sub-task, and not the parent of custom hierarchy. The nomenclature is definitely not helpful, and I tried to it for the same purpose and found it not doing what I want.

I would suggest that you use JQL instead of the Parent Branch, check out the screenshots I have below. I've tested it and it works for what you are trying to achieve.

atcom - 1.png

I hope this helps.

Cheers,

Francis

Like Janne Jääskä likes this
Janne Jääskä September 20, 2023

@Francis Batilo ,

Big thanks for the solution. Works perfectly!

Best regards,

Janne

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events