How to get a list of projects that have Anonymous Access in Jira from Database


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


The information in this page relates to SQL queries for reporting purpose. Atlassian Support cannot guarantee to provide any support for the steps described on this page as using SQL for business intelligence is beyond the scope of Atlassian Support Offerings. Please be aware that this material is provided for your information only and that you use it at your own risk. Please try the workaround/resolution on your staging/development/testing Jira instance database before performing any changes on production Jira instance database.

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

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く


The purpose of this article is to show how to retrieve a list of projects that have Anonymous Access, which means Browse Project permission is granted to the group Anyone on the web. There are multiple tables involved in the SQL queries to get this information. 


  • Log into the Jira database

  • Run the following SQL command:

    SELECT, p.pname, FROM project p
    INNER JOIN nodeassociation na ON = na.source_node_id
    INNER JOIN schemepermissions sp ON
    na.sink_node_id = sp.scheme
    INNER JOIN permissionscheme ps ON
    na.sink_node_id =
    WHERE na.source_node_entity = 'Project'
    AND na.sink_node_entity = 'PermissionScheme'
    AND sp.permission_key='BROWSE_PROJECTS'
    AND sp.perm_type='group' 
    AND sp.perm_parameter is null

    (info) This SQL is only tested on PostgreSQL. For other database, the SQL may need to be altered to suit the syntax.

  • The result would be, for example:

       id  | pname |                     name
     10200 | MOGA1 | Default Permission Scheme
     10000 | TEST  | Default Permission Scheme
     10101 |  SD2  | Jira Service Management Permission Scheme for Project SDT

最終更新日 2023 年 8 月 16 日


Powered by Confluence and Scroll Viewport.