Enabling the integration
- First, enable the Gitlab integration from your project's integration settings.
- After enabling the integration you will get a url.
- Go to your gitlab's repository settings.
- Go to the "Web Hooks" section.
- Add the obtained url from the second step and make sure that the "Push events" trigger option is checked.
- Click on the "Add Web Hook" button
- And your done!
Using the integration
- Let's assume that we have a task.
- 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]).
- Push the changes to your Gitlab repository.
- 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.