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,556,741
Community Members
 
Community Events
184
Community Groups

How to reduce a large search result to just a list of the affected Jira projects.

Edited

I have a large Jira query that returns about three-thousand tickets. I want JUST the list of projects that these tickets are in.

For example, assuming that these ticket ID's are in the list...

ABS-123, ABS-345, ABS-654, ABC-548, ABC-854, ARC-598, RFV-876, PPD-852, PPD-658, WRM-854, WRM-952, RED-3242, RED-8798

What I want is this...

ABS, ABC, ARC, RFV, PPD, WRM, RED

I could use the full project names instead of the ticket ID prefixes.

I'm looking for something like...

Select Distinct ProjectNames from (large jira query that returns thousands of tickets)

Any ideas?

2 answers

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 01, 2020

JQL in Jira is only going to be able to return to you a list of issues in Jira, not the specific projects those issues are in.  That said, since you appear to be using Jira Server, this is something that we should be able to attain from a SQL query of the database.

However in order to do that, we would really need to better understand the syntax of your JQL query here.  It might be possible to get a list of the projects/project names in question here, but only if we first understand the specific criteria in which JQL is selecting these issues.

Andy

0 votes
Niranjan
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.
Oct 01, 2020

Hi @Phillip H_ Blanton ,

If you looking just for the project keys, you may export the issues to a CSV and do some manipulation to get the project keys. JQL is to return all the issues that matches the filter criteria and cannot return project keys.

:-/ Thanks.

Yeah. that's what we're doing now, but I thought that maybe I could do it all in Jira.

Like Niranjan likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events