How to disable extended project administration

Still need help?

The Atlassian Community is here for you.

Ask the community

Purpose

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. 

Version

Jira 7.4.x 

Solution

Jira UI: 

  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 1): 

  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. 

    Info (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

    Info (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 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. 
    Info (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"

    Info (i) Expected HTTP response code:  204 No Content


Last modified on Nov 1, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.