Forums

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

link all issues in a epic from one project into another epic in another project using automation

Rosana Casilli
Contributor
January 26, 2023

Hi All!!

 

I was wondering if there is anyway to link all issues in an epic in Project A into a specific Epic in Project B, using automation. 

Does anybody know how to do that? 

Thanks in advance,

Ro

1 answer

0 votes
Mark Segall
Community Champion
January 26, 2023

Hi @Rosana Casilli - This could be possible, but I have a couple questions:

  1. How many issues are in each Epic?  I ask because you'll run into limits if we're talking about a large number of child issues
  2. The links - Are we talking about linking all issues in project A to all issues in project B or is it one-to-one based upon some type of business logic?
Rosana Casilli
Contributor
January 26, 2023

Hi @Mark Segall !!  thanks for your quick response!

1.  there are 100 issues

2. Right now I want to try to link all issues in an epic in project A to a specific Epic in project B

Mark Segall
Community Champion
January 26, 2023

And for this specific Epic, is this something you're trying to dynamically identify or is this intended to be a one-time rule that will statically link all of the issues to a single Epic?

Rosana Casilli
Contributor
January 26, 2023

mmm maybe excecuted more than once to link issues that weren't there at the first run.... 

Mark Segall
Community Champion
January 26, 2023

Ok... Here's the framework of an automation rule that can do this:

  • TRIGGER: Manual
  • CONDITION: Issue Type = Epic
  • ACTION: Lookup Issues
    • Key = <Project B Epic Key>
  • BRANCH: Stories or (Other issues in Epic)
    • ACTION: Link Issue
      • Desired Link Type
      • {{lookupIssues}}

Notes

  1. You can go with whatever for the trigger here.  I just chose manual because there's no business logic. 
  2. I went with a lookup Issues action.  You can refine that if more business logic comes about for the target Epic
Rosana Casilli
Contributor
January 26, 2023

thanks mark!

This automation should be placed in project B? or in Project A? 

Mark Segall
Community Champion
January 26, 2023

Project A

Suggest an answer

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

Atlassian Community Events