Going Stellar

Home/Atlassian REST API reference

Jira and Confluence Cloud REST API

Jira and Confluence rate limits, headers and 429

Jira and Confluence Cloud enforce a per-second burst limit per endpoint, an hourly points quota for apps, and on Jira a per-issue write limit. Every limit answers 429 with a Retry-After header. API token traffic is described by the guides as governed by the burst limits only. Normal Jira responses report the burst rate in X-Ratelimit-Limit and X-Ratelimit-Remaining.

Endpoints

MethodPathWhat it does
GET/rest/api/3/myselfShows X-Ratelimit headers on a lightweight call.
GET/rest/api/3/issue/{issueIdOrKey}Different X-Ratelimit-Limit than myself.
POST/rest/api/3/issueA write endpoint with its own limit.
PUT/rest/api/3/issue/{issueIdOrKey}A third write limit, on edits.

Examples

GET /rest/api/3/myself

A GET on myself reports a limit of 350.

curl

curl \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  'https://your-domain.atlassian.net/rest/api/3/myself'

Python (requests)

import os
import requests

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

Response: HTTP 200

{
 "accountId": "<accountId>",
 "accountType": "atlassian"
}

Response headers

X-Ratelimit-Limit: 350
X-Ratelimit-Remaining: 349

Sent to Atlassian Cloud on .

GET /rest/api/3/issue/WEB-999999

A GET on a work item reports a limit of 400, even on an error response.

curl

curl \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  'https://your-domain.atlassian.net/rest/api/3/issue/WEB-999999'

Python (requests)

import os
import requests

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

Response: HTTP 404

{
 "errorMessages": [
  "Issue does not exist or you do not have permission to see it."
 ],
 "errors": {}
}

Response headers

X-Ratelimit-Limit: 400
X-Ratelimit-Remaining: 399

Sent to Atlassian Cloud on .

POST /rest/api/3/issue

A POST that creates a work item reports 200.

curl

curl -X POST \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  --data '{
  "fields": {
    "project": {
      "key": "WEB"
    },
    "issuetype": {
      "name": "Task"
    },
    "summary": "Example created through REST API",
    "description": {
      "type": "doc",
      "version": 1,
      "content": [
        {
          "type": "paragraph",
          "content": [
            {
              "type": "text",
              "text": "Created with POST /rest/api/3/issue."
            }
          ]
        }
      ]
    },
    "labels": [
      "api-example"
    ],
    "duedate": "2026-12-15"
  }
}' \
  'https://your-domain.atlassian.net/rest/api/3/issue'

Python (requests)

import os
import requests

EMAIL = "you@example.com"
r = requests.post(
    'https://your-domain.atlassian.net/rest/api/3/issue',
    auth=(EMAIL, os.environ["ATLASSIAN_API_TOKEN"]),
    headers={'Accept': 'application/json'},
    json={'fields': {'project': {'key': 'WEB'},
                     'issuetype': {'name': 'Task'},
                     'summary': 'Example created through REST API',
                     'description': {'type': 'doc',
                                     'version': 1,
                                     'content': [{'type': 'paragraph',
                                                  'content': [{'type': 'text',
                                                               'text': 'Created with POST '
                                                                       '/rest/api/3/issue.'}]}]},
                     'labels': ['api-example'],
                     'duedate': '2026-12-15'}},
)
print(r.status_code, r.text)

Response: HTTP 201

{
 "id": "10768",
 "key": "WEB-57",
 "self": "https://your-domain.atlassian.net/rest/api/3/issue/10768"
}

Response headers

X-Ratelimit-Limit: 200

Sent to Atlassian Cloud on .

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

A PUT that edits a work item reports 300.

curl

curl -X PUT \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  --data '{
  "fields": {
    "summary": "REST API reference test issue - edited"
  }
}' \
  'https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}'

Python (requests)

import os
import requests

EMAIL = "you@example.com"
r = requests.put(
    'https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}',
    auth=(EMAIL, os.environ["ATLASSIAN_API_TOKEN"]),
    headers={'Accept': 'application/json'},
    json={'fields': {'summary': 'REST API reference test issue - edited'}},
)
print(r.status_code, r.text)

Response: HTTP 204

No response body.

Response headers

X-Ratelimit-Limit: 300

Sent to Atlassian Cloud on .

POST /rest/api/3/search/approximate-count

The approximate count POST reports 300.

curl

curl -X POST \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  --data '{
  "jql": "project = WEB"
}' \
  'https://your-domain.atlassian.net/rest/api/3/search/approximate-count'

Python (requests)

import os
import requests

EMAIL = "you@example.com"
r = requests.post(
    'https://your-domain.atlassian.net/rest/api/3/search/approximate-count',
    auth=(EMAIL, os.environ["ATLASSIAN_API_TOKEN"]),
    headers={'Accept': 'application/json'},
    json={'jql': 'project = WEB'},
)
print(r.status_code, r.text)

Response: HTTP 200

{
 "count": 34
}

Response headers

X-Ratelimit-Limit: 300

Sent to Atlassian Cloud on .

How it behaves

  • Jira responses in the runs carried X-Ratelimit-Limit and X-Ratelimit-Remaining. Observed limits were 350 on most GETs, 400 on GET work item, 200 on creating and searching by POST, 300 on edits, and 600 on one link lookup.
  • X-Ratelimit-Remaining read 349 on the first call to myself and 348 on the next calls in the run, so it is a count within the current window.
  • Error responses (the 404 on a missing work item) carry the same X-Ratelimit headers as successful ones.
  • The Confluence responses in the runs did not include X-Ratelimit headers. The Confluence guide lists them as headers it can return.
  • No 429 was provoked. The remaining points below come from the guides.

Where the documentation differs

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

    Sent to Atlassian Cloud, . The documentation: The Jira rate limiting guide lists the burst limit for GET /api/{version}/issue/{issueidorkey} as 150 requests per second, and says X-RateLimit-Limit "reflects the allowed requests per second".

    What happened: A GET on a work item carried X-Ratelimit-Limit: 400.

  • POST /rest/api/3/search/approximate-count

    Sent to Atlassian Cloud, . The documentation: The same table lists POST /api/{version}/search/approximate-count at 150 requests per second.

    What happened: The call carried X-Ratelimit-Limit: 300.

Pitfalls

  • Treat the header as a hint to pace requests, not as a number to plan around. The documented table and the observed limits disagree, and the limits may change.
  • Per the guides, a 429 carries Retry-After in seconds and RateLimit-Reason: jira-burst-based, jira-quota-global-based, jira-quota-tenant-based or jira-per-issue-on-write. Wait out Retry-After, then back off with jitter.
  • Per-issue write limits are 20 writes per 2 seconds and 100 per 30 seconds on one work item. Spread edits on one item over time, and merge field changes into one PUT.
  • Points quotas apply to Forge, Connect and OAuth apps. The guides say API token traffic keeps the existing burst limits.

Questions and answers

How long should I wait after a 429?

Use the Retry-After header, which gives seconds. The guides add exponential backoff with jitter and retry only for idempotent calls.

Does a high X-Ratelimit-Remaining mean I am safe?

It describes the current second for one scope. The guide reports the hourly points quota in separate RateLimit headers.

Sources

  1. Rate limiting, Jira (Atlassian Developer)
  2. Rate limiting, Confluence (Atlassian Developer)

Markdown version · All REST API pages