How to find a list of projects that have access keys

Platform Notice: Data Center Only - This article only applies to Atlassian apps on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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.

*Except Fisheye and Crucible

Summary

The content on this page relates to platforms which are supported; however, the content is out of scope of our support offerings. Consequently, Atlassian cannot guarantee support. Please be aware that this material is provided for your information only and you may use it at your own risk.

Finding a list of projects which use project level access keys can be difficult when you have many repositories

Solution

Run the following query on your database. This will list any Projects that have an access key associated with it.

SELECT name FROM <DB>.project WHERE id IN ( SELECT project_id FROM <DB>.sta_project_permission Where user_id NOT IN ( SELECT user_id FROM <DB>.sta_normal_user ) ) ;

Please note you'll have to replace <DB> with your database name.

Updated on September 25, 2025

Still need help?

The Atlassian Community is here for you.