Forums

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

Jira Query

harsha vardhan May 9, 2021

I need assistance on the query

first we need list of issues where parent key = XYA -123 
then for List of issues, I need to get all the issues are that attached with particular link type--

List of issues

issue 1

-----issue(linked issue)

Issue 2

-----issue(linked issue)

2 answers

2 votes
Nic Brough -Adaptavist-
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.
May 9, 2021

Start with something like:

issue in linkedIssues(XYA-123,"is duplicated by")

This will get you the issues.   How they are displayed/listed is up to whatever you are listing them in.

0 votes
Mohamed Adel
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.
May 9, 2021

Hi @harsha vardhan 

 

To get list of subtask for a specific parent you need to use this query 

type = Sub-task AND parent = "issue Key"

Then you can use the query recommended by Nick to get the linked issues 

 

Regards, 

Adel 

Suggest an answer

Log in or Sign up to answer