Jira Cloud の Excel エクスポートで課題の上限を増やす
プラットフォームについて: Cloud のみ - この記事は、 クラウド プラットフォームのアトラシアン製品にのみ適用されます。
プラットフォームについて: Cloud のみ - この記事は、 クラウド プラットフォームのアトラシアン製品にのみ適用されます。
問題
既定では、Jira の両方の課題ナビゲーターで、検索結果の上限は 1000 件です。このため、CSV にエクスポートすると、最初の 1000 件の課題のみが Jira によってエクスポートされます。
環境
Jira Cloud only
原因
The maximum allowable value is dictated by the JIRA property 'jira.search.views.default.max' which is set to 1000 by default.
Currently, it is not possible to change this value as it falls under customization which is not allowed in Atlassian Cloud.
回避策
この問題を回避するには、pager/start
URL パラメータを使用してインデックス値を調整し、1001 件目以降をエクスポートします。これらの結果を手動で結合する必要があります。
- Run a search on the issue navigator to get all the issues that need to be exported (Example below contains 200k+ issues).
- Export the first 1000 issues using the standard export feature: Export >> Export Excel CSV (output here will be in a CSV format)
For the next thousand issues, right click on the same option above and open in a new tab, you should get a URL string like below:
https://<instance name>/sr/jira.issueviews:searchrequest-csv-all-fields/temp/SearchRequest.xls?jqlQuery=&tempMax=1000 or https://<instance-name>/issues/?filter=<filter number>
必要なのは URL 文字列のみのため、ダウンロードをキャンセルします。
URL 末尾に &pager/start=1000 を追加し、インデックス 1001 以上をエクスポートする処理を Jira に行わせることができるようにします。&tempMax=1000 も追加する必要がある場合があります。例:
https://<instance name>/sr/jira.issueviews:searchrequest-csv-all-fields/temp/SearchRequest.xls?jqlQuery=&tempMax=1000&pager/start=1000
ブラウザでこの URL にアクセスし、プロンプトが表示されたらファイルを保存します。次の 1000 件の課題についてもインデックス値を同様に調整します。例:
&pager/start=2000
- エクスポートされた CSV ファイルを開き、必要に応じて手動で統合します。
その他の情報
If you encounter a similar limitation for REST API, see Changing maxResults parameter for Jira Cloud REST API.
A bug ticket is tracked here: - JRACLOUD-25493Getting issue details... STATUS (Cloud)