Support ClickUp as an issue tracker
Release notes
Support the project management tool ClickUp as a additional issue tracker.
Problem to solve
ClickUp is a project management tool that can be used to create tasks/issues. Due to the way ClickUp assigned IDs to issues the current Custom issue tracker cannot be used. ClickUp already supports integration with GitLab, so it would be great to also have integration from GitLab to ClickUp.
ClickUp assigns task ID to issues in 3 ways, and all three are not supported by the current Custom issue tracker:
- An alphanumerical task ID, e.g.
#861mputxw
. A link to this issue would be http://app.clickup.com/t/861mputxw - The general
CU-
prefix followed by the same alphanumerical task ID, e.g.CU-861mputxw
. The link to this task is the same as 1, so no prefix. If the GitLab integration is enabled for a project in ClickUp, this is the suggested task ID: - When enabled for a project, a custom task ID consisting of a prefix followed by a number, e.g.
PRJ-12345
. A link to this issue would be https://app.clickup.com/t/999999/PRJ-12345 (where 99999 is a list ID). The allowed pattern doesn't appear too well documented, but in the interface itself on ClickUp it is only possible to add capitals, numbers, or underscores:
All three methods pose a problem for the Custom issue tracker. For 1 and 2 only numbers are supported by the custom issue tracker. For 3 the prefix is removed from the URL, but on ClickUp this is needed to make a unique link, i.e. distinguish https://app.clickup.com/t/999999/PRJ-12345 from https://app.clickup.com/t/999999/ABC-12345.
Proposal
Have a new integration for ClickUp. The main thing to change is the regular expression to match task IDs in the commit message. A regular expression that captures all 3 tasks IDs is /((#|CU-)(?<issue>[a-z0-9]+)|(?<issue>[A-Z0-9_]{2,10}-\d+))\b/
.
Intended users
All users who use ClickUp as a project management system.
Feature Usage Metrics
Groups/projects that have the ClickUp integration enabled.