Skip to content
Docs

GitLab

GitLab events start a workflow when a merge request or issue linked to a task changes..

Beta

This feature is in beta. If you do not see it, ask your admin to turn it on for your organization.

GitLab events start a workflow when a merge request or issue linked to a task changes.

Needs: The GitLab integration and the development lifecycle features must both be on.

gitlab.mr_opened

Fires when a linked merge request is opened.

Data you can use in later steps: The task (its number, key and title), the project it is in, and who caused the event. Also which GitLab project.

gitlab.mr_merged

Fires when a linked merge request is merged.

Data you can use in later steps: The task (its number, key and title), the project it is in, and who caused the event. Also which GitLab project.

gitlab.mr_approved

Fires when a linked merge request is approved.

Data you can use in later steps: The task (its number, key and title), the project it is in, and who caused the event. Also which GitLab project.

gitlab.issue_closed

Fires when a linked issue is closed on GitLab.

Data you can use in later steps: The task (its number, key and title), the project it is in, and who caused the event. Also which GitLab project.

GitLab and GitHub events are separate. A rule written for one never matches the other.

  • Filters: on the trigger you can narrow an event to exact values, for example one project. A filter that cannot be checked counts as not matching.
  • If a run never starts, see Why didn’t it run?.