The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Linking issues automation

Tetiana
Contributor
June 7, 2023

I have a project for monitoring tasks completion. The idea is to have tickets to be created either weekly or daily (issue A, issue B, issue C, etc). One control ticket - issue A (that should have things linked to it) is scheduled to be created weekly, on Mondays at certain hour, the rest as well just different hours.

My goal is to somehow link this issue type ticket (issue A) to all other issue types (B, C, D, E, etc.) that were created throughout the week. 

So it'd look like this: 

Monday at 9:00 issue A is created

It gets linked to issues B-etc. that have created date of the previous week.

And like this it goes every week. 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Rik de Valk _Brainboss_
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 Champions.
June 7, 2023

Hi @Tetiana , 

As long as you give your created issues some Label (or other attribute) that you can use to search on, you can do the trick. 

In the below example, I assumed that the previously created issues have the label 'control-ticket'. And on this schedule issue creation, I search for issues with that label, created in the past 7 days. And as action, I link the returned issues to the issue that was just created by this rule. 

Screenshot 2023-06-07 at 14.18.28.png

Would that meet your requirements? 

Have a nice day! Rik 

Tetiana
Contributor
June 14, 2023

I will be trying this, for sure! thanks!

Tetiana
Contributor
June 14, 2023

Rik, can you please share, why the label is a must in this case? Could it be just linked to cases created 7 days ago? If I remove the label part from JQL, will it work?

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events