Forums

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

JQL JIRA Query for linked issue

Anny S
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!
April 29, 2020

I am trying to extract the records of those JIRA tickets from a particular project which has linked issue's and issue type should be BUG or DEFECT.

 

Tried something like this:

Project = FNT AND "Development Stream" in ("Onl", "Sub") AND issue in linkedIssues("") order by created DESC

 

However, didn't worked. Can anyone please provide some help here?

1 answer

0 votes
Mohamed Benziane
Community Champion
April 29, 2020

Hello @Anny S 

Welcome to the community.

linkedissues() works with an issuekey and link type (optionnel parameter ) :

project = "ABC" and issue in linkedIssues("ABC-123",blocks)

https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-functions/

Anny S
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!
April 29, 2020

Hi Mohamed,

Thanks for your response!

I tried with this method as suggested and it worked for me. However, I want to extract the records from multiple linkedissue's approx. count from #350. 

Is there any way to specify the issuekey for multiple key numbers or if we can specify issuekey type in a way to filter this out?

Mohamed Benziane
Community Champion
April 30, 2020

It's not possible out of thebox but you can do it with an addon like Scriptrunner

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events