Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I query for siblings of issues?

I would like to create a list with issues and their siblings. How do I write the query?
I have tried PARENT=issueID, but I can't get it to work.

I would like some thing similar to:

Parent_Issue-XYZ

 Child_issue-AAA
 Child_issue-BBB
 Child_issue-CCC

Parent_Issue-KLM

 Child_Issue-EEE
 Child_Issue-FFF
...

 

2 answers

Hi @Magnus Edlund - The parent field is for sub-tasks of an issue.  If the Parent_Issue-XYZ is an Epic issue type and the children are part of that Epic then you would use the Epic Link field.  If they are related by a standard Issue Link then you would use LinkedIssues().  

Hope this helps.

It looks like you want to search EPIC with their child stories and their child sub tasks. 

 

You can use following query to get the results by using the plugin : JQL Search Extensions for Jira & reports

 

 after installing the above plugin , please use following query it will return you all parents with their child's.

 

issue in allIssuesInEpic(your parent issue id's which is epic id)
for example

issue in allIssuesInEpic(epic-12, epic-13)

it will return all issues belongs to epic id 12 and 13

 

you can find more documentation here

https://jqlsearchextensions.atlassian.net/wiki/spaces/SEARCH/pages/30497099/JQL+Reference+Server#JQLReference(Server)-AllIssuesInEpic(jql-queryorissuekey)

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,642 views 22 33
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you