# Jira status and resolution fields: what the API lets you set

URL: https://goingstellar.ro/reference/jira-fields/status-resolution-fields/

status is the workflow position of a work item and resolution records how it was closed. Both read back as objects. A PUT that sets status was refused with 400, while one that sets resolution by name was accepted, and the work item then showed resolution Done with status still To Do.

## Endpoints

| Method | Path | What it does |
|---|---|---|
| PUT | `/rest/api/3/issue/{issueIdOrKey}` | Setting fields.status answered 400, setting fields.resolution answered 200. |
| GET | `/rest/api/3/issue/{issueIdOrKey}` | Returns status with its category and resolution as an object. |
| POST | `/rest/api/3/issue/{issueIdOrKey}/transitions` | Moves a work item through the workflow. The OpenAPI text for the edit call says a transition is ignored there and points to this operation. |

## Examples

### PUT /rest/api/3/issue/{issueIdOrKey}

Tries to move a work item to Done by setting fields.status.

```bash
curl -X PUT \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  --data '{
  "fields": {
    "status": {
      "name": "Done"
    }
  }
}' \
  'https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}?returnIssue=true&fields=status'
```

```python
import os
import requests

EMAIL = "you@example.com"
r = requests.put(
    'https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}?returnIssue=true&fields=status',
    auth=(EMAIL, os.environ["ATLASSIAN_API_TOKEN"]),
    headers={'Accept': 'application/json'},
    params={'returnIssue': 'true', 'fields': 'status'},
    json={'fields': {'status': {'name': 'Done'}}},
)
print(r.status_code, r.text)
```

Response: HTTP 400

```
{
 "errorMessages": [],
 "errors": {
  "status": "Field 'status' cannot be set. It is not on the appropriate screen, or unknown."
 }
}
```

Sent to Atlassian Cloud on 29 Nov 2026.

### PUT /rest/api/3/issue/{issueIdOrKey}

Sets the resolution by name and reads the edited field back.

```bash
curl -X PUT \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  --data '{
  "fields": {
    "resolution": {
      "name": "Done"
    }
  }
}' \
  'https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}?returnIssue=true&fields=resolution'
```

```python
import os
import requests

EMAIL = "you@example.com"
r = requests.put(
    'https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}?returnIssue=true&fields=resolution',
    auth=(EMAIL, os.environ["ATLASSIAN_API_TOKEN"]),
    headers={'Accept': 'application/json'},
    params={'returnIssue': 'true', 'fields': 'resolution'},
    json={'fields': {'resolution': {'name': 'Done'}}},
)
print(r.status_code, r.text)
```

Response: HTTP 200

```
{
 "key": "ZZREF-6",
 "fields": {
  "resolution": {
   "self": "https://your-domain.atlassian.net/rest/api/3/resolution/10000",
   "id": "10000",
   "description": "Work has been completed on this work item.",
   "name": "Done"
  }
 }
}
```

Sent to Atlassian Cloud on 29 Nov 2026.

### GET /rest/api/3/issue/{issueIdOrKey}

Reads status and resolution together after the resolution was set.

```bash
curl -G \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  --data-urlencode 'fields=priority,duedate,labels,components,fixVersions,environment,timetracking,reporter,status,resolution,issuetype,project,created,updated' \
  'https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}'
```

```python
import os
import requests

EMAIL = "you@example.com"
r = requests.get(
    'https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}',
    auth=(EMAIL, os.environ["ATLASSIAN_API_TOKEN"]),
    headers={'Accept': 'application/json'},
    params={'fields': 'priority,duedate,labels,components,fixVersions,environment,timetracking,reporter,status,resolution,issuetype,project,created,updated'},
)
print(r.status_code, r.text)
```

Response: HTTP 200

```
{
 "key": "ZZREF-6",
 "fields": {
  "status": {
   "self": "https://your-domain.atlassian.net/rest/api/3/status/10111",
   "description": "",
   "iconUrl": "https://your-domain.atlassian.net/images/icons/statuses/generic.png",
   "name": "To Do",
   "id": "10111",
   "statusCategory": {
    "self": "https://your-domain.atlassian.net/rest/api/3/statuscategory/2",
    "id": 2,
    "key": "new",
    "colorName": "blue-gray",
    "name": "To Do"
   }
  },
  "resolution": {
   "self": "https://your-domain.atlassian.net/rest/api/3/resolution/10000",
   "id": "10000",
   "description": "Work has been completed on this work item.",
   "name": "Done"
  }
 }
}
```

Sent to Atlassian Cloud on 29 Nov 2026.

### GET /rest/api/3/issue/{issueIdOrKey}

The status category fields that Jira keeps with the status, read from a navigable field selection.

```bash
curl -G \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  --data-urlencode 'fields=*navigable' \
  'https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}'
```

```python
import os
import requests

EMAIL = "you@example.com"
r = requests.get(
    'https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}',
    auth=(EMAIL, os.environ["ATLASSIAN_API_TOKEN"]),
    headers={'Accept': 'application/json'},
    params={'fields': '*navigable'},
)
print(r.status_code, r.text)
```

Response: HTTP 200

```
{
 "fields": {
  "statusCategory": {
   "self": "https://your-domain.atlassian.net/rest/api/3/statuscategory/2",
   "id": 2,
   "key": "new",
   "colorName": "blue-gray",
   "name": "To Do"
  },
  "statuscategorychangedate": "2026-11-29T20:01:01.290+0200",
  "resolution": {
   "self": "https://your-domain.atlassian.net/rest/api/3/resolution/10000",
   "id": "10000",
   "description": "Work has been completed on this work item.",
   "name": "Done"
  }
 }
}
```

Sent to Atlassian Cloud on 29 Nov 2026.

### PUT /rest/api/3/issue/{issueIdOrKey}

Clears the resolution with null.

```bash
curl -X PUT \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  --data '{
  "fields": {
    "resolution": null
  }
}' \
  'https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}?returnIssue=true&fields=resolution'
```

```python
import os
import requests

EMAIL = "you@example.com"
r = requests.put(
    'https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}?returnIssue=true&fields=resolution',
    auth=(EMAIL, os.environ["ATLASSIAN_API_TOKEN"]),
    headers={'Accept': 'application/json'},
    params={'returnIssue': 'true', 'fields': 'resolution'},
    json={'fields': {'resolution': None}},
)
print(r.status_code, r.text)
```

Response: HTTP 200

```
{
 "key": "ZZREF-11",
 "fields": {
  "resolution": null
 }
}
```

Sent to Atlassian Cloud on 29 Nov 2026.

## How it behaves

- fields.status {"name": "Done"} answered 400 with errors.status set to Field 'status' cannot be set. It is not on the appropriate screen, or unknown (sys-status-direct).
- fields.resolution {"name": "Done"} answered 200 with the resolution object, id 10000 (sys-resolution).
- After that call a read showed resolution Done and status To Do with status category new, so the two fields can disagree when resolution is set outside a transition (read-system-fields).
- status and statusCategory are listed as not orderable in the field list (fields-all).
- resolution null answered 200 and the field read back as null (sys-resolution-null).

## Pitfalls

- Writing resolution does not close the work item. Use the transitions operation for workflow moves, since status stays as it was.
- resolution is not in the edit metadata of the test work item, yet the PUT accepted it. Confirm against the project's workflow before relying on it.
- status and statusCategory are different fields. Compare the category, not the name, when logic must work across projects.

## Questions and answers

### How do I change the status of a work item?

Use POST /rest/api/3/issue/{issueIdOrKey}/transitions. The edit call refused fields.status in the run.

### Can I set resolution by id?

Only the name form was run for this page.

## Related

- [Read-only and computed system fields](https://goingstellar.ro/reference/jira-fields/read-only-system-fields/)
- [reporter](https://goingstellar.ro/reference/jira-fields/reporter-field/)
- [Field ids, keys and names](https://goingstellar.ro/reference/jira-fields/field-ids-and-names/)
- [Which fields can be set: editmeta and createmeta](https://goingstellar.ro/reference/jira-fields/editmeta-createmeta-fields/)
- [Reading field values: names, schema, v2 and v3](https://goingstellar.ro/reference/jira-fields/reading-field-values/)

## Sources

- [Issues (Jira REST API v3)](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/)
- [Edit issue (Jira REST API v3)](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-put)
- [Get issue (Jira REST API v3)](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-get)
- [Transition issue (Jira REST API v3)](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-transitions-post)

