Possible to export issues in charges like 1..100, 101..200, 201..300, etc.?

Svante Svante April 29, 2014

The URL parameter tempMax=1000 limits the number of downloaded issues even though the query provided more issues than that limit. If the downloaded format is XML, the following node shows the expected result: <issue start="0" end="1000" total="3927"/>.

Is it possible to specify the "start" and "end" attribute as an URL parameter?
Like "...&tempMax=1000&start=1000&end=2000"? This would enable the user to download charges of larger numbers of issues.

2 answers

2 votes
Svante Svante May 6, 2014

The parameter I was looking for is: pager/start. So the example from above would be:

https://sso.xxx.de/bctbt/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+in+%28xxx%2C+yyy%29&amp;tempMax=100&amp;pager/start=200

0 votes
Timothy
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.
April 30, 2014

JIRA's REST API for the seach has a startAt (https://docs.atlassian.com/software/jira/docs/api/REST/latest/#d2e5003) which is what you are looking for.

Svante Svante April 30, 2014

Hi Timothy, thanks for your answer. And yes, that is the parameter I'm looking for. I didn't play around with the REST API yet, but probably have to, since the parameter seems to be not available as URL parameter like in

https://sso.xxx.de/bctbt/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+in+%28xxx%2C+yyy%29&amp;tempMax=100&amp;startAt=50

Or is it only named differently?

Regards Svante

Timothy
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.
April 30, 2014

You'll have to look at the underlying servlet for that.

Suggest an answer

Log in or Sign up to answer