The following commands are available when working with GitLab work items.
These commands must be posted as a comment on the work item (issue).
These commands might be useful in some cases but are also limited in scope. Use native GitLab commands when possible (eg: you are a maintainer of the project) or the related links to manage forks, labels, etc for a more visual experience.
Learn more about Drupal.org's GitLab Integration
| Command | Description |
|---|---|
/do:fork |
Creates a fork and a branch automatically from the default repository branch. |
/do:access |
Gives access to the current user to the existing fork. |
/do:label ~list ~of ~labels |
Mimics "/label" command in GitLab, used to add labels. |
/do:unlabel ~list ~of ~labels |
Mimics "/unlabel" command in GitLab, used to remove labels. |
/do:relabel ~list ~of ~labels |
Mimics "/relabel" command in GitLab, used to reset labels. |
/do:assign @list @of @usernames |
Mimics "/assign" command in GitLab, used to add assignees |
/do:unassign @list @of @usernames |
Mimics "/unassign" command in GitLab, used to remove assignees |
/do:reassign @list @of @usernames |
Mimics "/reassign" command in GitLab, used to reset assignees |
/do:title New issue title |
Replaces the issue title. The entire rest of the line (no line breaks) becomes the new title. |
/do:description New description... |
Replaces the issue description. Everything after the command (including line breaks, ignoring the first one if present) becomes the new description. GitLab allows selecting the description and copying it. It will preserve the markdown and markup present. |