Jira server displays blank screen when editing a Permission Scheme

Still need help?

The Atlassian Community is here for you.

Ask the community

 

Platform Notice: Server, Data Center, and Cloud By Request - This article was written for the Atlassian server and data center platforms but may also be useful for Atlassian Cloud customers. If completing instructions in this article would help you, please contact Atlassian Support and mention it.

 

Problem

When trying to edit the Permissions of a Permission Scheme, the page is just showing a Blank White page.

Diagnosis

Run the following query towards the database to look for the ID of the affected Permission Scheme:

select * from permissionscheme;

Take note of the ID of the permission scheme and run the following query towards the database:

select * from schemepermissions where scheme = <ID from above> AND perm_type = 'reportercreate';

If there is results returned, continue to the Resolution below.

Cause

Apparently, the issue is due to to an additional parameter suggested from another KB called How to customise JIRA Core so reporters only see issues they reported is being commented out in which it is used before

Workaround

Workaround 1

  1. Follow back the How to customise JIRA Core so reporters only see issues they reported KB which is 
  2. Edit the file $JIRA_INSTALL/atlassian-jira/WEB-INF/classes/permission-types.xml to uncomment the below XML:

        <!--
        <type id="reportercreate" enterprise="true">
            <class>com.atlassian.jira.security.type.CurrentReporterHasCreatePermission</class>
        </type>
        -->
  3. Restart JIRA
  4. Access back the permissions scheme which should be editable now.
  5. Remove the Reporter (show only projects with create permission) from any permissions.
  6. Edit the file from Step 2 to Commented out the permission type if it would not be used anymore.
  7. Restart JIRA again to take effect.

Workaround 2

  1. Create the necessary backup such as XML and Database as the step requires direct database modification.
  2. Run the query below towards the database to remove the entries directly:

    delete from schemepermissions where scheme = <ID from above> AND perm_type = 'reportercreate';
  3. Restart JIRA.

 

Last modified on Sep 25, 2019

Was this helpful?

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