From ab2b0973ba32b06690e9ba413fe5f7df33799501 Mon Sep 17 00:00:00 2001 From: Oswaldo Ferreira Date: Fri, 21 Jul 2017 12:24:29 -0300 Subject: [PATCH 1/3] Add API link to Related Issues doc --- doc/user/project/issues/related_issues.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/user/project/issues/related_issues.md b/doc/user/project/issues/related_issues.md index 851112dcaafbdd..304d430c24b73b 100644 --- a/doc/user/project/issues/related_issues.md +++ b/doc/user/project/issues/related_issues.md @@ -6,8 +6,8 @@ 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. -The relationship only shows up in the UI if the user has write [permissions] -to see both issues (`> Guest`). +The relationship only shows up in the UI if the user has read [permissions] +to see both issues. ## Adding a related issue @@ -28,6 +28,10 @@ either issue. ![Removing a related issue](img/related_issues_remove.png) +As an addition, you are also able to manage related issues through [our API]. + [ee]: https://about.gitlab.com/gitlab-ee/ [ee-1797]: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1797 [permissions]: ../../permissions.md +[EE]: ../../permissions.md +[Our API]: https://docs.gitlab.com/ee/api/issue_links.html -- GitLab From a37ac60ee0a680a6aaf1b999444947198d7f5559 Mon Sep 17 00:00:00 2001 From: Oswaldo Ferreira Date: Fri, 21 Jul 2017 12:52:15 -0300 Subject: [PATCH 2/3] Add Related Issues to permissions docs --- doc/user/permissions.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/user/permissions.md b/doc/user/permissions.md index a57ae5c775290e..7689a8c21e48b0 100644 --- a/doc/user/permissions.md +++ b/doc/user/permissions.md @@ -25,6 +25,7 @@ The following table depicts the various user permission levels in a project. | Create confidential issue | ✓ | ✓ | ✓ | ✓ | ✓ | | View confidential issues | (✓) [^1] | ✓ | ✓ | ✓ | ✓ | | Leave comments | ✓ | ✓ | ✓ | ✓ | ✓ | +| See related issues | ✓ | ✓ | ✓ | ✓ | ✓ | | See a list of jobs | ✓ [^2] | ✓ | ✓ | ✓ | ✓ | | See a job log | ✓ [^2] | ✓ | ✓ | ✓ | ✓ | | Download and browse job artifacts | ✓ [^2] | ✓ | ✓ | ✓ | ✓ | @@ -38,6 +39,7 @@ The following table depicts the various user permission levels in a project. | See a container registry | | ✓ | ✓ | ✓ | ✓ | | See environments | | ✓ | ✓ | ✓ | ✓ | | Create new environments | | | ✓ | ✓ | ✓ | +| Manage related issues | | ✓ | ✓ | ✓ | ✓ | | Use environment terminals | | | | ✓ | ✓ | | Stop environments | | | ✓ | ✓ | ✓ | | See a list of merge requests | | ✓ | ✓ | ✓ | ✓ | -- GitLab From 3415fe91cb206206919fdba7b78bb4e3b3d4a751 Mon Sep 17 00:00:00 2001 From: Oswaldo Ferreira Date: Fri, 21 Jul 2017 12:59:46 -0300 Subject: [PATCH 3/3] Use relative path instead full URL --- doc/user/project/issues/related_issues.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/user/project/issues/related_issues.md b/doc/user/project/issues/related_issues.md index 304d430c24b73b..40ac756d27ae24 100644 --- a/doc/user/project/issues/related_issues.md +++ b/doc/user/project/issues/related_issues.md @@ -34,4 +34,4 @@ As an addition, you are also able to manage related issues through [our API]. [ee-1797]: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1797 [permissions]: ../../permissions.md [EE]: ../../permissions.md -[Our API]: https://docs.gitlab.com/ee/api/issue_links.html +[Our API]: ../../../api/issue_links.md -- GitLab