Integrate GitLab with Jira
This article will show you how to integrate your GitLab project with the University of Waterloo Jira instance. The benefits of this integration include navigating to Jira issues quickly from GitLab, detecting and linking to Jira issues from GitLab commits and merge requests, logging GitLab events in the associated Jira issue, and automatically transitioning Jira issues with GitLab commits and merge requests. For more information visit the GitLab support documentation.
Log into Jira using your UWaterloo account
Note: An existing Jira license will be required to achieve this
In Jira select your initials in the top right of the page.
A menu will appear, select ‘manage account’
From the header menu select ‘Security'
On the security page, select ‘Create and manage API tokens’
From the API Tokens page select ‘Create API token’
Provide a label for the API token and select ‘Create’
An API token will be generated, select ‘Copy’ and then select ‘Close’
You will not be able to view the key in the future so ensure you have this copied before closing.
Open your GitLab project
Select the project ‘Settings’ and then select ‘Integrations’
From the integrations list find ‘Jira’ and select ‘Configure’
Make the following adjustments to the configuration settings, and select ‘Save’
Enable integrations - Active
Web URL - https://uwaterloo.atlassian.net
Authentication method - Basic
Email or username - WatIAM@uwaterloo.ca
New API token or passcode - Insert the API token you copied from Atlassian
Trigger, Issues - choose your desired configuration
This determines whether mentioning a Jira issue in GitLab commits, merge requests, or both, should link the Jira issue back to that source commit/MR and transition the Jira issue, if indicated.
Related articles
Need help?
Contact Atlassian Support.
Article feedback
If you’d like to share any feedback about this article, please let us know.
Â
Â