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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


JIRA API - get all projects including components



I am working on JIRA Api 2 and trying to get all projects including components using this /rest/api/2/project.

When I get the single project using /rest/api/2/project/{projectIdOrKey}, I also get the components.

My question is how to get multiple projects including components.

Does anyone get the same question. Can you give me a hint.

Thank you


1 answer

0 votes
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.
Dec 15, 2019


I'm not sure it is possible. In scheme for 'get all project' exist parameter 'expand'. But looks like it not work for 'components'. 

In my instance response show only 4 possible values for 'expand':



I'm afraid that mean not possible get all projects with components. Only using loop foreach after get all projects.


Thank you @Andrew . I did try the expand query and get the same result.

So In my case what is the best solution for getting projects and its' components.

May I have to call /rest/api/2/project/{projectIdOrKey} many times or I have to use the /rest/api/2/search?jql to get all the issues then group the data.

@Andrew what do you think

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events