get backlog issues for a given project

Pallav Gupta June 1, 2021

Please help me in fetching all the issues in the backlog for a particular project id using rest api.

 

Thanks in advance.

1 answer

0 votes
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 1, 2021

Hi,

You can use this API to fetch the data you need :

https://docs.atlassian.com/jira-software/REST/7.0.4/#agile/1.0/board-getIssuesForBacklog

Then go through the JSON to find issue that match your poject ID

Pallav Gupta June 1, 2021

Thanks for the answer, but it is showing only 50 issues. What if I have more than that.

Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 2, 2021

Hi,

You can add the following parameter:

maxResults={value you want}

Clients can use the startAt and maxResults parameters to retrieve the desired numbers of results.

The maxResults parameter indicates how many results to return per page. Each API may have a different limit for number of items returned.

 

https://docs.atlassian.com/jira-software/REST/7.0.4/

Suggest an answer

Log in or Sign up to answer