Setting up Gitlab Commits integration

 

Enabling the integration

  1. First, enable the Gitlab integration from your project's integration settings.

     
     
  2. After enabling the integration you will get a url.


     
  3. Go to your gitlab's repository settings.


     
  4. Go to the "Web Hooks" section.
  5. Add the obtained url from the second step and make sure that the "Push events" trigger option is checked.


     
  6. Click on the "Add Web Hook" button
  7. And your done!


Using the integration

  1. Let's assume that we have a task.


     
  2. When you're making a git commit, copy the task's url and paste it in the commit message (you can paste as many task urls as you want),
    also in your commit message, you can specify the task's status right after your task url (e.g. [Done]).


     
  3. Push the changes to your Gitlab repository.
  4. A comment containing the commit's message and url will get created on the specified tasks.



    Also if you specify a status, the task's status will get updated.