Gitlab Integration is a plugin to use into GLPI - Gestionnaire Libre de Parc Informatique when the tickets needs to integrate with Gitlab.
Clone this repository inside the folder plugins of GLPI
Configure parameters to use Gitlab Integration:
- open the file
gitlabintegration.ini - Change the variables
GITLAB_URLandGITLAB_TOKENvalues to.GITLAB_URL: receive the url to access gitlab repositoryGITLAB_TOKEN: receive the token to access gitlab repository
Afterwards install the plugin and enabled it.
To give permission, it is necessary to access the option Permissions Gitlab located at ``Administration`.
Then it's possible to adds any available profile.
To set a default gitlab project, it is nessecary to access the option Gitlab Default Project located at Administration.
Then select a project from the available projects combobox.
In Administation select the option Gitlab Projects Association , then you can select a Gitlab project and a GLPI category to associate them.
To create an Issue, a ticket must be created and then open it.
on the end of the ticket form a field called Gitlab Project is added. In this field you must select a project from Gitlab available projects and then click on Create Issue.
After this, the Issue is created on the Gitlab website successfully!
