The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

JQL to retrieve all jiras linked with tickets in a certain status?

Satoshi Yamada
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!
December 3, 2020

Hi,

 

Is there anyway to retrieve all the JIRAs linked with tickets in a certain status, like 'Escalated'?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Jimmy Seddon
Community Champion
December 3, 2020

Hi @Satoshi Yamada,

Welcome to the Community!

I think more information about what you are looking for might be required here.  But as a starting point.

if you search for:

status = "Escalated" AND linkedIssue in (LinkedIssues("JIRA-1234"))

that will provide you with a list of all issues linked to JIRA-1234 that are in the 'Escalated' status.  I'm not 100% sure if this is what you are looking for, but it should give you a starting point.

-Jimmy 

Jack Brickey
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 Champions.
December 3, 2020

adding a bit here...

you can find all issues that are in a given status that are linked to other issues, e.g.

issueLinkType is not empty and status = Escalated

you cannot (OOTB) find all issues that have links where the status of the linked issues is Escalated. You can do this w/ apps like Scriptrunner, Power scripts, etc.

for example this isn't possible - issueLinkType is not empty and LinkedIssuestatus = Escalated

Like Jimmy Seddon likes this
Satoshi Yamada
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!
December 4, 2020

@Jimmy Seddon @Jack Brickey 
Thanks for your comments.

you cannot (OOTB) find all issues that have links where the status of the linked issues is Escalated. 

This is actually what I want to do. I'll look into Scriptrunner and Power scripts.

Thanks again!

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events