How can I use Jira automation to link issues with the same fix version?

Michele Ma February 27, 2024

I want to manually trigger the follow from a Release type ticket:

  1. Look up issues of a certain type in the same fix version of the trigger issue
  2. Link the results to the trigger issue

I tried using Lookup: type=task AND fixversion={{version.name}}

1 answer

1 accepted

1 vote
Answer accepted
Kalyan Sattaluri
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.
February 27, 2024

Hello @Michele Ma 

Welcome to the community. Can you tell why do this and what value add will this do?

Please see my below post in how to do this (with few modifications on trigger / lookup criteria / link type) but why do this when fixVersion by itself can query these for you. Just seems like unnecessary work..

https://community.atlassian.com/t5/Automation-questions/Link-duplicate-or-similar-issues-using-summary-string/qaq-p/2619643

 

Michele Ma February 27, 2024

I have people on the team who like to be able to see it linked on the ticket (but I agree with you that it's not really necessary)

Michele Ma February 27, 2024

I tried this but it doesn't work:

2024-02-27 11_52_05-Automation - JIRA.png

Kalyan Sattaluri
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.
February 27, 2024

Hi @Michele Ma 

Use below clause to search

fixVersion = {{issue.fixVersions.name}}

Also, You have to do this incrementally to make sure you are making progress else you can pause and investigate.

So after your lookup action, do a new action and log below smart value to confirm you have results.

{{lookupIssues.key}}

 

 

Michele Ma February 27, 2024

that worked!  Thank you so much!

Like Kalyan Sattaluri likes this

Suggest an answer

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

Atlassian Community Events