Linked issues
DETAILS: Tier: Free, Premium, Ultimate Offering: GitLab.com, Self-managed, GitLab Dedicated
- Changed minimum required role from Reporter (if true) to Guest in GitLab 17.0.
Linked issues are a bi-directional relationship between any two issues and appear in a block below the issue description. You can link issues in different projects.
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 linked issues through our API, see Issue links API.
Add a linked issue
Prerequisites:
- You must have at least the Guest role for both projects.
To link one issue to another:
-
In the Linked items section of an issue, select the add linked issue button ({plus}).
-
Select the relationship between the two issues. Either:
- relates to
- blocks
- is blocked by
-
Input the issue number or paste in the full URL of the issue.
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:
- The same project:
#44
- The same group:
project#44
- Different group:
group/project#44
Valid references are added to a temporary list that you can review.
- The same project:
-
When you have added all the linked issues, select Add.
When you have finished adding all linked issues, you can see them categorized so their relationships can be better understood visually.
You can also add a linked issue from a commit message or the description in another issue or MR. For more information, see Crosslinking issues.
Remove a linked issue
In the Linked items section of an issue, select the remove button ({close}) on the right-side of each issue token to remove.
Due to the bi-directional relationship, the relationship no longer appears in either issue.
Access our permissions page for more information.
Blocking issues
DETAILS: Tier: Premium, Ultimate Offering: GitLab.com, Self-managed, GitLab Dedicated
When you add a linked issue, you can show that it blocks or is blocked by another issue.
Issues blocked by other issues have an icon ({entity-blocked}) next to their title, shown in the issue lists and boards. The icon disappears when the blocking issue is closed or their relationship is changed or removed.
If you try to close a blocked issue using the "Close issue" button, a confirmation message appears.