All Collections
GitHub & GitLab integrations
How to automatically link and close Height tasks from GitHub & GitLab
How to automatically link and close Height tasks from GitHub & GitLab

Seamlessly link and close Height tasks without leaving GitHub or GitLab

Michael Villar avatar
Written by Michael Villar
Updated over a week ago

As part of our GitHub and GitLab integrations, you can effortlessly link and close related Height tasks directly from pull/merge requests and commits.

Linking tasks

You can easily link Height tasks to GitHub and GitLab pull/merge requests and commits by including the Task ID in the title. Similarly, typing "Link T-1" or a closing keyword like “Fixes T-1” or “Closes T-1” in the title, description, or comment will link it to the corresponding task.

Once linked, the task’s status will update based on the custom configuration set in the GitHub and GitLab integration settings.

Closing tasks

Though closing keywords aren’t required to close tasks, you can configure different statuses to be used if you prefer to use closing keywords. If the box for "Use different task statuses..." is checked, a second column set will appear for you to customize the statuses to be used when links contain closing keywords.

The first column set of statuses is for updating the tasks of linked pull/merge requests and commits that don’t have closing keywords, while the second column set of statuses is for updating the tasks of linked pull/merge requests and commits that do have closing keywords.

For more complex workflows, e.g. tasks that require multiple pull requests or commits to be completed, requiring closing keywords may be helpful. In cases like this, you might just want to link the first pull requests/commits in order to set the task as "In progress" using the first column set, and mark your last pull request/commit as closing so that it gets automatically marked as "Done" when merged, using the second column set.

Did this answer your question?