Related issues (CORE)
- Introduced in GitLab Starter 9.4.
- The simple "relates to" relationship moved to GitLab Core in 13.4.
Related issues are a bi-directional relationship between any two issues and appear in a block below the issue description. Issues can be across groups and projects.
You can set any issue as:
- Related to another issue
- Blocking another issue (STARTER)
- Blocked by another issue (STARTER)
The relationship only shows up in the UI if the user can see both issues.
When you try to close an issue that has open blockers, a warning is displayed.
NOTE: To manage related issues through our API, visit the issue links API documentation.
Adding a related issue
- Introduced in GitLab Starter 12.8.
- Improved to warn when attempting to close an issue that is blocked by others in GitLab Starter 13.0. When you try to close an issue with open blockers, you see a warning that you can dismiss.
-
Relate one issue to another by clicking the related issues "+" button in the header of the related issue block.
-
Input the issue reference number or paste in the full URL of the issue.
-
(STARTER) Select whether the current issue relates to, blocks, or is blocked by the issues being entered.
Issues of the same project can be specified just by the reference number. Issues from a different project require additional information like the group and the project name. For example:
- same project:
#44
- same group:
project#44
- different group:
group/project#44
Valid references are added to a temporary list that you can review.
- same project:
-
When you have added all the related issues, click Add to submit.
When you have finished adding all related issues, you can see them categorized so their relationships can be better understood visually.
Removing a related issue
In the related issues block, click the "x" icon on the right-side of each issue token that you wish to remove.
Due to the bi-directional relationship, it no longer appears in either issue.
Please access our permissions page for more information.