Forums

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

Unable to fetch linked issue using lookupIssue in automatin rule

raghuvarmaofficial March 16, 2023

So Iam tying to log the stories that are linked to a bug , when link is broken between bug and story

So there is Bug 1 and there are three stories story 1 , story 2 and story 3

I am deleting link story 3 from Bug 1

and iam using a jql to fetch issues using lookupIssue linked to the Bug 1 with JQL

issue in linkedIssues({{issue.key}}, "relates to") And issueType = Story


I was expecting to receive story 1 and story 2 in the response but iam only getting story 3
Is there a way i can get the other stories in lookup issues

questionThing.jpg

1 answer

0 votes
Bill Sheboy
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.
April 7, 2023

Hi @raghuvarmaofficial 

My understanding is the branch type Destination Issue only works when the trigger is Issue Linked, not when a link is removed.

Instead consider changing your branch to only the currently linked issues; that is, the ones which remain after the link is deleted.

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team ’25 europe, early bird extension, conference discount, barcelona, hybrid event, AI teamwork, early bird pass, digital access, collaboration conference, atlassian events, register now, developer conference

1 week left to save on your Team '25 Europe pass

Still thinking about joining us for Team '25 Europe? Early bird has been extended for just one week! Now’s the time to lock in your lowest rate. Use code TEU25COMM-20 to save 20% at checkout. Hurry, this only lasts for 1 more week.

Learn more
AUG Leaders

Atlassian Community Events