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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,558,456
Community Members
 
Community Events
184
Community Groups

Ability to pull all child issues of a particular issue type in a project - "Parent Link"

We are trying to pull the child tickets (Feature) of multiple parent tickets (Initiatives) linked through 'Parent Link' field (advanced roadmaps) without having to do it by issue keys.

Example: Lets say we have initiatives "ABC-1, ABC-2, ABC-3.... ABC-100" and each of these have child tickets (Features) linked via parent link and if I want to pull the full list of child tickets for all the initiatives in the project, here's how it is currently possible:

- "parent link" in (ABC-1, ABC-2, ABC-3,.....,ABC-100)

Every time a new initiative is added, we need to make sure that is included in the JQL so it will pull the child features.

 

What we are looking for is to be able to pull all the child tickets of a particular issue type tickets in a project. Something like this below:

- "Parent Link" in ("Project = ABC and issuetype = Initiative")

 

If this is already possible and I'm not aware of it, please share the JQL trick.

If it is not possible and If there is any other work around, we are more than happy to know it.

2 answers

1 vote
Fabian Lim
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 10, 2022

Hi @Nikhil

Unfortunately, you may have to use a third party plugin such as scriptrunner or JQL search extensions which give you the ability to have complex filters.  Note that some features may not work in cloud so you will have to trial them.  

In my previous company we used the following: https://marketplace.atlassian.com/apps/1214791/jql-search-extensions-for-jira-the-jql-extensions?hosting=cloud&tab=overview

0 votes
mauricio_groth
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.
Sep 12, 2022

Hi  @Nikhil 

As you're on Jira Cloud, the correct answer is to get an app that provides JQL extensions you're looking for.

With standard JQL, you can only get a list of issues and export them to Excel for further processing. This works if you want to do a one-off analysis. If your use case is more dynamic than that, look beyond standard Jira.

Standard JQL doesn't easily allow it, but you can quickly find the results using our professional indexing service JQL Search Extensions

You can use this function to help you in your request:

ChildrenOfIssuesInQuery

For a given JQL subquery it finds children of resulting issues. It supports Advanced Roadmaps “Parent Link” and a standard Jira hierarchy Epic → Story → Subtask. Also have a look at ChildrenOfIssuesInQueryRecursive.

Examples:

issue in childrenOfIssuesInQuery("project='ACME' and type=Initiative")

Finds all epics in initiatives in project ACME.

 

issue in childrenOfIssuesInQuery("assignee=currentUser()")

Finds children of all of my tickets.

 

Check out the documentation for more examples.

If you have any other questions, please contact our support. We’ll be happy to help you!
Best regards,

Maurício Groth

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events