Forums

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

Automatically Link new issues with the same reporter

Edgardo Ibarra
Contributor
November 30, 2023

Hey Atlassian Community!

Hope you're all doing well. I'm reaching out because I'm working on a case that's been a bit of a head-scratcher for me, and I could really use some guidance from the experts here.

I'm trying to set up an automation that automatically links issues with the same reporter. Here's what I'm aiming for:

  1. Check for Existing Issues: When a new issue is created, I want the automation to look in the project to see if there's already an issue with the same reporter.

  2. Match and Link: If there's a match in the reporter field, I'd like the automation to link the newly created issue to the oldest existing issue with the same reporter and status.

I've been tinkering with the automation rules, but it links the old ticket to the newer one and I need it to do the opposite. If anyone has experience with a similar scenario or has some tips on how I can achieve this, I'd greatly appreciate your insights.

Thanks a bunch! 🚀

https://community.atlassian.com/t5/Jira-Service-Management/Automatically-Link-tickets-with-the-same-reporter/qaq-p/1334224

 

Screenshot 2023-11-30 at 12.47.58.png

1 answer

0 votes
Jeroen Poismans
Community Champion
December 1, 2023

Hi!

Seems like you are almost there! What I have doen is order the lookup issues on created date ascending. That way you know the oldest is the first element of you lookupIssues list. Then in the link action, you can use smartvalue {{lookupIssues.first}} to get to that issue!

Screenshot 2023-12-01 at 17.19.24.png

 

This should work!

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