How to find a list of projects that have access keys
The content on this page relates to platforms which are supported; however, the content is out of scope of our Atlassian 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
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.
Was this helpful?Yes Provide feedback about this article