Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

How can I submit a JQL that returns the list of existing projects?

Hello Community.

How can I make a query, where it brings me the list of Active Projects? As on screen:

https://yourcompany.atlassian.net/jira/projects?page=1&selectedCategory=all&selectedProjectType=business&sortKey=name&sortOrder=ASC

On this screen, for example, there is a field where I can put a string that filters by the project name. How can I apply other filters, for example the name of the leader?

Thanks.

2 answers

1 vote
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 02, 2023

Hi @Rafael Santos 

JQL is used to return issues and nothing more. However you can:

  • Use JQL to list all issues you have access to, export them to excel and then process it with a pivot table in order to get the project list you want
  • You can use rest API to get a JSON with all projects
  • Use a 3rd party app which could do that trick for you
1 vote
Carlos Garcia Navarro
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 02, 2023

Hi @Rafael Santos ,

Like mentioned in this other post, JQL is to query issues not projects, but you can use some of the suggestions here, like using the projects gadget: 

https://community.atlassian.com/t5/Jira-questions/JQL-to-list-all-projects/qaq-p/2019450#:~:text=To%20get%20the%20list%20of%20all%20the%20projects%20in%20Jira,you%20have%20permission%20to%20see.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events