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 to get only required fields as response in jira api/2/Project API ?

PK I'm New Here Dec 25, 2019

I will be retrieving all Projects using the API "/rest/api/2/project".  I need only id, key & name from the response. Is it possible to get only these 3 values using the above API? If yes, what will be the param values ?

please advise? 

1 answer

0 votes
Bryan Bojorque Community Leader Dec 26, 2019

@PK ,

Based on the documentation, you can't but there is no stopping you from parsing the responses to your desired data structure.

The only option in the documentation is to expand, adding more information in the responses.

PK I'm New Here Jan 02, 2020

Yes. right now I am parsing the response. I thought of retrieving only required fields to improve the performance.

Thanks for your response.

Suggest an answer

Log in or Sign up to answer

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