Commit a00d5a26 authored by Eugenia Grieff's avatar Eugenia Grieff

Fix fields description

- Amend descriptions for move_before_id
and move_after_id in GraphQL and REST API
parent df6565e4
......@@ -29,11 +29,11 @@ module Mutations
argument :move_before_id, GraphQL::ID_TYPE,
required: false,
description: 'ID of issue before which the current issue will be positioned at'
description: 'ID of issue that should be placed before the current issue'
argument :move_after_id, GraphQL::ID_TYPE,
required: false,
description: 'ID of issue after which the current issue will be positioned at'
description: 'ID of issue that should be placed after the current issue'
def ready?(**args)
if move_arguments(args).blank?
......
......@@ -7665,12 +7665,12 @@ input IssueMoveListInput {
iid: String!
"""
ID of issue after which the current issue will be positioned at
ID of issue that should be placed after the current issue
"""
moveAfterId: ID
"""
ID of issue before which the current issue will be positioned at
ID of issue that should be placed before the current issue
"""
moveBeforeId: ID
......
......@@ -21231,7 +21231,7 @@
},
{
"name": "moveBeforeId",
"description": "ID of issue before which the current issue will be positioned at",
"description": "ID of issue that should be placed before the current issue",
"type": {
"kind": "SCALAR",
"name": "ID",
......@@ -21241,7 +21241,7 @@
},
{
"name": "moveAfterId",
"description": "ID of issue after which the current issue will be positioned at",
"description": "ID of issue that should be placed after the current issue",
"type": {
"kind": "SCALAR",
"name": "ID",
......@@ -1332,9 +1332,9 @@ PUT /projects/:id/issues/:issue_iid/reorder
| Attribute | Type | Required | Description |
|-------------|---------|----------|--------------------------------------|
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user |
| `issue_iid` | integer | yes | The internal ID of a project's issue |
| `move_after_id` | integer | no | The ID of a project's issue to move this issue after |
| `move_before_id` | integer | no | The ID of a project's issue to move this issue before |
| `issue_iid` | integer | yes | The internal ID of the project's issue |
| `move_after_id` | integer | no | The ID of a project's issue that should be placed after this issue |
| `move_before_id` | integer | no | The ID of a project's issue that should be placed before this issue |
```shell
curl --request PUT --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/4/issues/85/reorder?move_after_id=51&move_before_id=92"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment