Integrations and/or repositories can be associated with one or more Jira projects to restrict which users can view development information. All newly-connected repositories or integrations are associated with all Jira projects by default.
This feature is displayed on the following locations:
- REPOSITORY Manage repositories page ➜ Actions ➜ Edit repository ➜ Feature settings.
- INTEGRATION Manage integration page ➜ Actions ➜ Edit integration ➜ Feature settings.
Restrict to projects – One or more projects can be mapped to this repository or integration to make Git Commits tabs available in the Issue pages of the associated projects. Disable Associate with all projects option to gain access to this field.
Associate with all projects – Enable this option to associate this repository or integration to all projects. Disable this option if you want to use the existing mapped projects from the Restrict to projects field. The default setting is enabled (checked).
Project permissions level
There are several types of project permission levels, namely:
Repository level
You can configure the project permissions for single connection repositories:
-
On the Manage repositories page, click Actions ➜ Edit repository.
-
On the page that appears, scroll down to Project Permissions.
-
Uncheck (turn off) the Associate with all projects setting.
-
Click on the Restrict to projects field then select one or more projects from the list.
-
Click Update to save the settings.
The same process can also be applied for other single repository connections in Jira Cloud.
Integration level
You can configure the project permissions for integration (multiple repository connection):
-
On the Manage integrations page, click Actions ➜ Edit integration.
-
On the page that appears, click Feature settings on the sidebar then scroll down to the Project Permissions section.
-
Uncheck (turn off) the Associate with all projects setting.
-
Click on the Restrict to projects field then select one or more projects from the list.
-
Click Update to save the settings.
Repository level within integration
You can configure the project permissions for repositories within integration:
-
On the Manage repositories page, click Actions ➜ Edit integration for a repository that is part of the integration (which can be identified with the Integration column).
For easy access, use the integration dropdown selector.
-
Click a repository name (under the Repository column) to directly open its repository settings.
-
On the page that appears, scroll down to Project Permissions.
-
Uncheck (turn off) the Associate with all projects setting.
-
Click on the Restrict to projects field then select one or more projects from the list.
-
Click Update to save the settings.
Setting project permissions in Jira Cloud
Project permissions are now available in Git Integration for Jira Cloud. The default setting for new repository/integration connections is Associated with all Jira projects.
Watch the video below to learn different settings for each project permissions level.