How to disable extended project administration

お困りですか?

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

コミュニティに質問

目的

In Jira 7.3, we've extended the project administrators permission so that project administrators can now edit their projects workflow under certain conditions. In Jira 7.4, this setting can be enabled/disabled in the permission scheme. This document details how this can be done in the UI and using the REST API. 

バージョン

Jira 7.4.x 

ソリューション

Jira UI (Option 1): 

  1. Navigate to cog icon > Issues > Permission Scheme.
  2. Click the desired Permission Scheme link.
  3. Uncheck 'Extended Project Administration' to disable or check to enable. 

REST API (Option 2): 

  1. Obtain the ID of the Permission Scheme you'd like to update. You can do this by navigating to cog icon > Issues > Permission Scheme and clicking on the desired scheme. 

    情報 (i)The ID is at the end of the URL (schemeId=1234). For example, the ID of the following permission scheme is 1234: http://localhost:8080/jira/secure/admin/EditPermissions!default.jspa?schemeId=1234

  2. Use a PUT request with the following data to the URL: 

    <jira-base-url>/rest/api/2/permissionscheme/<id>/attribute/ADMINISTER_PROJECTS.extended.enabled

    情報 (i) Expected HTTP response code:  204 No Content

     Body Content Type: "Content-Type: raw/text"
     Authorization: Basic Authentication
     Body Content: false (to disable), true (to enable)

    Example of a request in Postman:

REST API (Option 3): 

  1. Obtain the ID of the Permission Scheme you'd like to update. You can do this by navigating to cog icon > Issues > Permission Scheme and clicking on the desired scheme. 
    情報 (i) The ID is at the end of the URL (schemeId=1234). For example, the ID of the following permission scheme is 1234: http://localhost:8080/jira/secure/admin/EditPermissions!default.jspa?schemeId=1234
  2. Run the following CURL request: 

    curl -D- -u username:password -X PUT --data 'false' -H 'Content-Type: text/plain' "<jira-base-url>/rest/api/2/permissionscheme/<id>/attribute/ADMINISTER_PROJECTS.extended.enabled"

    情報 (i) Expected HTTP response code:  204 No Content


最終更新日 2022 年 11 月 4 日

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

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