User settings
This page describes the following procedures required for the user settings:
- 1 1.Adding GitLab-Jira integration settings
- 2 2.Syncing GitLab and Jira
- 3 3.Deleting GitLab-Jira integration settings
- 4 4.Enabling/disabling GitLab-Jira integration settings
- 5 5.Editing GitLab-Jira integration settings
- 6 6.Changing the settings of multiple servers at once
- 7 7.SonarQube integration settings
1.Adding GitLab-Jira integration settings
Issue an access token from a machine user belonging to the GitLab group of a project that uses GitLab-Jira integration.
【Procedure on GitLab】
Click [Admin Area] > [Users] > Target machine user > [Impersonate].
At the upper right of the screen, click the icon and select [Settings].
Select [Access Tokens], enter [Name] and [Scopes], and click [Create personal access token].
You need to select the following scopes:
api
read_repository
write_repository
To reduce the load on Jira when collaborating, we recommend that you limit the scope of browsing to a minimum number of GitLab projects with a personal access token.
You can check machine users belonging to the GitLab group of a project that uses GitLab-Jira integration from the list of group users by clicking [Members] on the left side of the target GitLab group screen.
【Procedure on Jira】
On the Jira administration screen, open the screen for the settings for the GitLab Connector for Jira Software.
(Select [Applications] > [GitLab].)
To register a new GitLab server, enter GitLab server name (any logical name) and GitLab server URL, and click [Connection Test].
When the test succeeds, click [Add server].
Click [Add project] and select a Jira project you want to integrate.
Enter a GitLab access token where appropriate access permissions are set and click [Save].
When the project is successfully saved and the status changes to [Enable], it means that the synchronization is completed, allowing you to use the function.
2.Syncing GitLab and Jira
You can sync the GitLab server information to the integrated Jira project.
From the list of servers in the lower area of the application screen, click [Sync right now] or [Sync All] from [Action] for the server from which you want to sync.
For more information on the difference between "sync" right now and "full sync", see "Synchronization", "full synchronization", and "integrated projects list" .
3.Deleting GitLab-Jira integration settings
You can delete the settings of an integrated Jira project.
From the list of servers in the lower area of the application screen, click [Delete] under [Action] for the server of which you want to delete the integration settings.
4.Enabling/disabling GitLab-Jira integration settings
You can enable/disable an integrated Jira project.
From the list of servers in the lower area of the application screen, click [Enable] or [Disable] under [Action] for the server from which you want to enable or disable.
5.Editing GitLab-Jira integration settings
You can change the access token or the Jira project to be integrated.
From the list of servers in the lower area of the application screen, click [Edit] under [Action] for the server of which you want to change the integration settings.
Edit the Jira project or access token and click [Save].
6.Changing the settings of multiple servers at once
If you have multiple Jira projects linked to a single GitLab server, you can
Sync right now/Sync all
Delete
Edit
Enable/Disable
all of them at once from [Bundled action].
7.SonarQube integration settings
You can configure the integration between SonarQube and GitLab server.
Click the "Configure" button of the server you want to configure the integration settings for.
Set the SonarQube server URL and access token for the Sonar server and "Save".
After configuring the settings, execute "Sync all" in User settings | 2.Syncing GitLab and Jira .
Confirm that "Configured" is displayed in the SonarQube integration settings column.