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, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events