Jira Automation: Identify issue keys and create link when an issue is created

Joel Faresjö Melander
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!
August 18, 2023

Hi!

I am trying to create an automation rule that will run whenever an issue of a certain type is created. I want to automatically check some of the fields (such as the labels or the description) for Jira issue keys and add those issues as linked issues to the issue that was created. Is this possible to do?

 

1 answer

0 votes
Ste Wright
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 18, 2023

Hi @Joel Faresjö Melander 

Possibly - but can I ask first, why can't you just link to those issues during issue creation, rather than handling it via an automation rule?

Ste

Joel Faresjö Melander
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!
August 18, 2023

Thank you for the reply @Ste Wright.

We are using XRay for testing and verification. When we import test results from unit tests through GitLab, Xray creates a test issue for each unit test that was run. The problem is that XRay can not create a Jira Link to another issue, so there is no straightforward way to link the test to the requirement it is for.

Anyway, I managed to solve it by modifying one of the automation templates.

automation template.pngautomation.png

Like Ste Wright likes this

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