Automatically Link issues to other issues with automation

Seww
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 31, 2025

Hello! I have two Automations that under certain conditions create two tasks in different projects, let's call them B and C. Tasks B and C are linked to the parent task A, how can i use Automation to configure the linking of tasks B and C to each other?

1 answer

0 votes
Marcos Defina
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.
January 31, 2025

Hi @Seww welcome to Atlassian Community.

Please feel free to share some screenshots with blurred sensitive content, people might be able to help more with more information.

In your case, I see you're trying to do a retroactive action - Automations are often used for pos actions (when something happens, do this).

We can still use Automations for historical changes, by using the new Trigger When: Scheduled - which allow you to use a JQL as trigger.


I thought a bit about your case, even tried implementing a mock of it:  

Screenshot_31-1-2025_125352_stillwatersconsulting.atlassian.net.jpeg

So the way I would do is, loop through all issues under your epic by querying parent=epic_issue_key and open a JQL Branch, for again looping through all issues under that certain epic.

This essentially will create a nested loop, where every children of your epic will link to every other children of your epic.

Now I suppose you wouldn't want to do that, but that's what your description entails. I would start with this logic and tune it further to your needs.

Hope it helps!

Suggest an answer

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

Atlassian Community Events