---
ai:
  exclude: true
search:
  tags:
    - issue
    - POST
seo:
  description: >-
    Reorders an issue's subtasks by… Reference for the POST
    /api/2/issue/{issueIdOrKey}/subtask/move endpoint in the Jira Software Data
    Center REST API Reference.
sidebar:
  label: Reorder an issue's subtasks
  badge: POST
title: Reorder an issue's subtasks
type: openapi-operation
---
Reorders an issue's subtasks by moving the subtask at index 'from' to index 'to'.

`POST /api/2/issue/{issueIdOrKey}/subtask/move`

**Request body** (`application/json`, required)

The description of previous and current position of subtask in the sequence.

- `current` (integer<int64>)
- `original` (integer<int64>)

Request body example:

```json
{
  "current": 0,
  "original": 0
}
```

**Responses**

- `204` — Returned if the request was successful
- `400` — Returned if the from or to parameters are out of bounds
- `403` — Returned if the user is not allowed to edit the issue
- `404` — Returned if the parent issue doesn't exist
