# Jira work item properties with the REST API

URL: https://goingstellar.ro/reference/atlassian-rest-api/issue-properties/

Work item properties are small JSON values stored under a key. PUT creates or replaces one (201 on create), GET reads it, a keys call lists them, and DELETE removes it. The value is whatever JSON you send, up to 32,768 characters per the spec.

## Endpoints

| Method | Path | What it does |
|---|---|---|
| PUT | `/rest/api/3/issue/{issueIdOrKey}/properties/{propertyKey}` | Sets the value of a property. |
| GET | `/rest/api/3/issue/{issueIdOrKey}/properties/{propertyKey}` | Returns the key and value of a property. |
| GET | `/rest/api/3/issue/{issueIdOrKey}/properties` | Lists the property keys of a work item. |
| DELETE | `/rest/api/3/issue/{issueIdOrKey}/properties/{propertyKey}` | Deletes a property. |

## Examples

### PUT /rest/api/3/issue/{issueIdOrKey}/properties/ref.demo

Set a property whose body is any JSON object. A new property answers 201 with no body.

```bash
curl -X PUT \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  --data '{
  "reviewed": true,
  "score": 3
}' \
  'https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}/properties/ref.demo'
```

```python
import os
import requests

EMAIL = "you@example.com"
r = requests.put(
    'https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}/properties/ref.demo',
    auth=(EMAIL, os.environ["ATLASSIAN_API_TOKEN"]),
    headers={'Accept': 'application/json'},
    json={'reviewed': True, 'score': 3},
)
print(r.status_code, r.text)
```

Response: HTTP 201

No response body.

Response headers:

```
X-Ratelimit-Limit: 300
X-Ratelimit-Remaining: 298
```

Sent to Atlassian Cloud on 29 Nov 2026.

### GET /rest/api/3/issue/{issueIdOrKey}/properties/ref.demo

Read it back. The answer wraps the stored JSON in key and value.

```bash
curl \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  'https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}/properties/ref.demo'
```

```python
import os
import requests

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

Response: HTTP 200

```
{
 "key": "ref.demo",
 "value": {
  "reviewed": true,
  "score": 3
 }
}
```

Sent to Atlassian Cloud on 29 Nov 2026.

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

List the keys with a self URL for each.

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

```python
import os
import requests

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

Response: HTTP 200

```
{
 "keys": [
  {
   "key": "ref.demo",
   "self": "https://your-domain.atlassian.net/rest/api/3/issue/10766/properties/ref.demo"
  }
 ]
}
```

Sent to Atlassian Cloud on 29 Nov 2026.

### DELETE /rest/api/3/issue/{issueIdOrKey}/properties/ref.demo

Delete the property. The answer is 204.

```bash
curl -X DELETE \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  'https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}/properties/ref.demo'
```

```python
import os
import requests

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

Response: HTTP 204

No response body.

Sent to Atlassian Cloud on 29 Nov 2026.

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

Request properties=*all on the work item read to include them in the body.

```bash
curl -G \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  --data-urlencode 'fields=summary' \
  --data-urlencode 'properties=*all' \
  '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': 'summary', 'properties': '*all'},
)
print(r.status_code, r.text)
```

Response: HTTP 200

```
{
 "expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations",
 "id": "10774",
 "self": "https://your-domain.atlassian.net/rest/api/3/issue/10774",
 "key": "WEB-63",
 "properties": {},
 "fields": {
  "summary": "REST API reference test issue - delete"
 }
}
```

Sent to Atlassian Cloud on 29 Nov 2026.

## How it behaves

- PUT with a JSON body {"reviewed": true, "score": 3} created the property and answered 201 with no body.
- GET answered {"key": "ref.demo", "value": {...}} with the stored JSON unchanged.
- The key list answers an object with a keys array; each entry has key and self.
- properties=*all on the work item read added a properties object to the body.

## Pitfalls

- The body of the PUT is the property value, not an object with a value key. Wrapping it stores the wrapper.
- The spec limits the value to 32,768 characters and the key to 255. Larger data belongs in an attachment or an external store.
- Properties are readable by anyone who can see the work item, so never put secrets in them.
- PUT answers 200 when it replaces an existing value and 201 on create; do not treat 200 as an error.

## Questions and answers

### Can JQL search on a property?

That is outside the requests shown on this page, and it was not tried.

## Related

- [Get a work item](https://goingstellar.ro/reference/atlassian-rest-api/get-issue/)
- [expand, fields and properties parameters](https://goingstellar.ro/reference/atlassian-rest-api/expand-fields-properties/)
- [Edit a work item](https://goingstellar.ro/reference/atlassian-rest-api/edit-issue/)
- [Remote links](https://goingstellar.ro/reference/atlassian-rest-api/remote-links/)
- [Work item links](https://goingstellar.ro/reference/atlassian-rest-api/issue-links/)
- [Delete a work item](https://goingstellar.ro/reference/atlassian-rest-api/delete-issue/)

## Sources

- [The Jira Cloud platform REST API v3 (Atlassian Developer)](https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/)
- [Set issue property (Jira REST API v3)](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties/#api-rest-api-3-issue-issueidorkey-properties-propertykey-put)
- [Get issue property (Jira REST API v3)](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties/#api-rest-api-3-issue-issueidorkey-properties-propertykey-get)
- [Get issue property keys (Jira REST API v3)](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties/#api-rest-api-3-issue-issueidorkey-properties-get)

