GitLab

Using the GitLab integration

Updated over a week ago

Here's how it works: you connect repositories to Status Hero with a webhook, and Status Hero will match up commits and merge requests to your team members. The updates will appear in the activity page and alongside their check-ins.

To use it, visit the settings for a GitLab repository you want to connect on GitLab, and click through to the "Webhooks" page.

Visit the Account Management - Integrations page in Status Hero, and copy the payload URL listed there under the GitLab panel.

Then, paste that value into a new webhook in the relevant repository in GitLab (under integrations). Make sure Push events and Merge request events are ticked off:

To test it out, make a push with a new commit to the GitLab repo and look for a new entry in the activity stream.

You can add as many repos as you want to your Status Hero team using the same webhook URL.

Auto-complete

Once a few activities have been logged, you can use the auto-complete functionality in check-ins and comments to auto-link to issues in your GitLab project.

Simply type # and a string of text that is part of your GitLab item and you'll be able to select and auto-insert a fully formatted link to the item.

Troubleshooting

  • Look for commits in the activity stream first. The check-ins on the dashboard will sum up commits from the previous period. (The check-ins essentially say "here's what I did yesterday, and here are all the commits to go along with that.)

  • Check to make sure the email address that is being used in GitLab matches the email address that is being used in Status Hero. If you or a team member is using a different email address in GitLab, set the secondary email address to match the one used in GitLab.

  • Make sure that the commit authors (not the person who "pushed" to the repo) match up either by email or by first and last name with people on your team in Status Hero.

  • The commits have timestamps that are different from when they are pushed to the repo, and we use the commit timestamps to match up with check-ins. So if you pushed commits that are a few days old to a repo, they will appear with older check-ins, or discarded if they happened before you created your Status Hero account or added the author as a Status Hero team member.

Did this answer your question?