-
-
- {{ __('Remove from board') }}
-
-
-
diff --git a/app/views/shared/boards/components/_sidebar.html.haml b/app/views/shared/boards/components/_sidebar.html.haml
index 3daa13fb488..59dd571604b 100644
--- a/app/views/shared/boards/components/_sidebar.html.haml
+++ b/app/views/shared/boards/components/_sidebar.html.haml
@@ -25,7 +25,3 @@
= render "shared/boards/components/sidebar/labels"
= render_if_exists "shared/boards/components/sidebar/weight"
= render "shared/boards/components/sidebar/notifications"
- %remove-btn{ ":issue" => "issue",
- ":issue-update" => "issue.sidebarInfoEndpoint",
- ":list" => "list",
- "v-if" => "canRemove" }
diff --git a/changelogs/unreleased/229507-graphql-mutation-to-remove-issue-from-board.yml b/changelogs/unreleased/229507-graphql-mutation-to-remove-issue-from-board.yml
new file mode 100644
index 00000000000..e8b4573d8f8
--- /dev/null
+++ b/changelogs/unreleased/229507-graphql-mutation-to-remove-issue-from-board.yml
@@ -0,0 +1,5 @@
+---
+title: Remove Remove from board button from board sidebar
+merge_request: 53946
+author:
+type: removed
diff --git a/doc/api/discussions.md b/doc/api/discussions.md
index d88d4780e65..8b72f916759 100644
--- a/doc/api/discussions.md
+++ b/doc/api/discussions.md
@@ -839,7 +839,7 @@ a note but other comments (replies) can be added to it later.
POST /projects/:id/merge_requests/:merge_request_iid/discussions
```
-Parameters:
+Parameters for all comments:
| Attribute | Type | Required | Description |
| ---------------------------------------- | -------------- | -------- | ----------- |
@@ -858,21 +858,28 @@ Parameters:
| `position[old_path]` | string | no | File path before change |
| `position[old_line]` | integer | no | Line number before change (for 'text' diff notes) |
| `position[line_range]` | hash | no | Line range for a multi-line diff note |
-| `position[line_range][start]` | hash | no | Multiline note starting line |
-| `position[line_range][start][line_code]` | string | yes | Line code for the start line |
-| `position[line_range][start][type]` | string | yes | Line type for the start line |
-| `position[line_range][end]` | hash | no | Multiline note ending line |
-| `position[line_range][end][line_code]` | string | yes | Line code for the end line |
-| `position[line_range][end][type]` | string | yes | Line type for the end line |
| `position[width]` | integer | no | Width of the image (for 'image' diff notes) |
| `position[height]` | integer | no | Height of the image (for 'image' diff notes) |
| `position[x]` | integer | no | X coordinate (for 'image' diff notes) |
| `position[y]` | integer | no | Y coordinate (for 'image' diff notes) |
+Parameters for multiline comments only:
+
+| Attribute | Type | Required | Description |
+| ---------------------------------------- | -------------- | -------- | ----------- |
+| `position[line_range][start]` | hash | no | Multiline note starting line |
+| `position[line_range][start][line_code]` | string | no | Line code for the start line |
+| `position[line_range][start][type]` | string | no | Line type for the start line |
+| `position[line_range][end]` | hash | no | Multiline note ending line |
+| `position[line_range][end][line_code]` | string | no | Line code for the end line |
+| `position[line_range][end][type]` | string | no | Line type for the end line |
+
```shell
curl --request POST --header "PRIVATE-TOKEN: