Accessing the SearchRequest XML displays a Forbidden 403

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。

*Fisheye および Crucible は除く

症状

Accessing the SearchRequest.xml page (XML View) displays a HTTP 403 forbidden error.

atlassian-jira-http-access.log に次のメッセージが表示される。

123.45.6.789 o825x4110x1 user [DD/MMM/YYYY:HH:MM:SS +1100] "GET http://thejiraserver/sr/jira.issueviews:searchrequest-xml/12345/SearchRequest.xml HTTP/1.1" 403 0 0.1200 - "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.101 Safari/537.11" "iqrydw"

原因

The filter is returning more results than is specified in the jira.search.views.max.limit as per our Limiting the number of issues returned from a search view such as an RSS feed documentation.

ソリューション

Any of the below solutions will prevent a 403 from being displayed:

  1. Increase the jira.search.views.max.limit as in our Limiting the number of issues returned from a search view such as an RSS feed.
    (warning) Increasing this value greater than 1000 will result in all search results automatically querying the JIRA instance for that many issues. This can cause significant detrimental performance problems with the instance and it is not recommended to change this number greater than 1000.
  2. Append a tempMax parameter to the URL as in the below example. However, this will only return the first 1000 issues.

    http://thejiraserver/sr/jira.issueviews:searchrequest-xml/12161/SearchRequest-12161.xml?tempMax=1000

    In order to return the remaining issues, another query will need to be made using the pager/start parameter:

    http://thejiraserver/sr/jira.issueviews:searchrequest-xml/12161/SearchRequest-12161.xml?tempMax=1000&pager/start=1000
  3. Our recommended approach is to use the REST API to retrieve the results as per our REST API documentation. For example:

    http://thejiraserver/rest/api/2/search?jql=project%20%3D%20JIRA

最終更新日 2024 年 11 月 25 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.