Page tree

Steps on how to enable Code Quality widget in the pipeline:

Take Note!

GitLab is not natively integrated with JIRA, so there will be some differences on the scope of integration compared to Bitbucket.


Basic Integration with JIRA
Documentation: https://docs.gitlab.com/ee/integration/jira/

ScreenshotsInstructions

The Basic Integration with JIRA can be done at Project level or at Instance level. We are doing instance level since we want to integrate every projects with JIRA by default.

This step is only for GitLab admin:

Go to Admin → Settings → Integrations: and choose Jira

Input the Solvay JIRA URL: https://solvayagile.atlassian.net/


Input email address of the Admin - this has to be an account that has access in JIRA as admin as well.


Access the JIRA, go to Atlassian account settings

Access the security menu

Click: Create and manage API tokens

Create new token by clicking: Create API Token

Provide a meaningful name for your API token


When the API token is created, make sure to copy the API token

Back to GitLab

Paste the API token to the field named "Enter new password or API token"


Click Save changes



DONE! Your basic GitLab and JIRA integration has been completed.

 What are supported in this basic GitLab - JIRA integration? You can take a look from the documentation but as overview:

This integration also allows the movement of JIRA tickets based on the activities done in GitLab, but to do so, you will need to register the Transitiion ID of JIRA to GitLab.

Since the Transition ID in JIRA can be vary, depending on the workflow definition on each of the JIRA projects.

Below are the steps to do it:

ScreenshotsInstructions

Get the Transition IDs of your project by using this below URL:

https://yourcompany.atlassian.net/rest/api/2/issue/issue-code/transitions

in Solvay it will be as below example (with test project JGIT):

https://solvayagile.atlassian.net/rest/api/2/issue/JGIT-1/transitions 

Input the Transition IDs on GitLab, this time at project level:

Go to Admin menu → Settings → Integration → Jira

Enable the JIRA transition and fill up the IDs



The best way to get IT support is to use the new Service One Platform.