# Jira and Confluence Cloud REST API reference

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

The Jira Cloud platform REST API (v2 and v3), the Jira Software Agile API and the Confluence Cloud REST API (v1 and v2) are documented operation by operation in Atlassian's OpenAPI files. This reference is organised by task instead: get, create and edit a work item, search with JQL, comment, log work, upload a file, read and write pages, labels and properties, and the cross-cutting parts that trip people up, such as authentication, pagination, error formats and rate limits.

Every example on these pages is a request that was sent to Jira and Confluence Cloud on 29 Nov 2026 with basic auth and an API token, together with the status code and an excerpt of the response that came back. Account ids, e-mail addresses and the site name are replaced with placeholders such as <accountId> and your-domain.atlassian.net. Where the real behaviour differs from the documentation, the page says so.

JQL in search requests is covered in the [JQL reference](https://goingstellar.ro/reference/jql/) and CQL in the [CQL reference](https://goingstellar.ro/reference/cql/). The rich-text bodies the APIs accept are described in the [Jira text formatting reference](https://goingstellar.ro/reference/jira-formatting/) (wiki markup and ADF) and the [Confluence storage format reference](https://goingstellar.ro/reference/confluence-storage-format/).

## Authentication

- [Basic auth with an API token](https://goingstellar.ro/reference/atlassian-rest-api/authentication-api-tokens.md): Send an Atlassian account email and API token as HTTP Basic credentials to call Jira and Confluence Cloud REST endpoints from scripts.
- [Requests without authentication](https://goingstellar.ro/reference/atlassian-rest-api/anonymous-requests.md): A Jira request without credentials gets 401 on myself but 404 on an issue, the same body as a missing work item. Read how to tell them apart.
- [The api.atlassian.com gateway and the cloud id](https://goingstellar.ro/reference/atlassian-rest-api/api-gateway-cloud-id.md): Jira Cloud REST paths work on the site host and on api.atlassian.com/ex/jira/{cloudId}. See what changes in links, credentials and the response.

## API versions and parameters

- [ADF in request bodies](https://goingstellar.ro/reference/atlassian-rest-api/adf-in-request-bodies.md): v3 Jira fields and Confluence v2 pages take ADF documents. See the minimal doc object, the 400 for a plain string, and the string-encoded form on pages.
- [expand, fields and properties parameters](https://goingstellar.ro/reference/atlassian-rest-api/expand-fields-properties.md): Trim or enrich a Jira work item response with fields, expand and properties, and the Confluence v2 body-format counterpart. Real calls and defaults.
- [Jira REST API v2 vs v3](https://goingstellar.ro/reference/atlassian-rest-api/jira-v2-vs-v3.md): v2 and v3 expose the same Jira operations. The real difference is rich text: v2 reads and writes strings, v3 requires Atlassian Document Format.
- [The removed /search endpoint](https://goingstellar.ro/reference/atlassian-rest-api/removed-search-endpoint.md): GET /rest/api/3/search and /rest/api/2/search answer 410 Gone. Move to /rest/api/3/search/jql with tokens, explicit fields and bounded JQL.

## Errors, status codes and rate limits

- [Content-Type and 415](https://goingstellar.ro/reference/atlassian-rest-api/content-type-and-415.md): Jira Cloud answers 415 with a problem+json body when a JSON request is sent as text/plain. See the exact response and the working call.
- [Error response formats](https://goingstellar.ro/reference/atlassian-rest-api/error-responses.md): Four different error bodies come from Jira and Confluence Cloud: errorMessages/errors, errors[] with codes, a v1 message, and problem+json or HTML.
- [HTTP status codes](https://goingstellar.ro/reference/atlassian-rest-api/http-status-codes.md): What 200, 201, 204, 400, 404, 409, 410 and 415 mean in real Jira and Confluence Cloud responses, with the cases that surprise clients.
- [Rate limits and 429](https://goingstellar.ro/reference/atlassian-rest-api/rate-limits-and-429.md): The X-Ratelimit headers on normal responses, what a 429 and Retry-After look like per the guides, and how burst, quota and per-issue limits differ.
- [X-Atlassian-Token: no-check](https://goingstellar.ro/reference/atlassian-rest-api/xsrf-no-check-header.md): Multipart uploads to Jira and Confluence need X-Atlassian-Token: no-check. Without it Jira answers 404 and Confluence 403, both with an XSRF message.

## Pagination

- [Cursor pagination in Confluence v2](https://goingstellar.ro/reference/atlassian-rest-api/pagination-cursor-links.md): Confluence Cloud v2 pages with limit and an opaque cursor. Follow the relative next URL in the Link header or _links.next until it is absent.
- [nextPageToken in Jira search](https://goingstellar.ro/reference/atlassian-rest-api/pagination-nextpagetoken.md): POST or GET /rest/api/3/search/jql pages with nextPageToken, has no total, returns only ids by default, and refuses unbounded JQL. Real responses.
- [startAt and maxResults](https://goingstellar.ro/reference/atlassian-rest-api/pagination-startat-maxresults.md): Page Jira collections with startAt and maxResults. See the real fields (total, isLast, nextPage), the list key per endpoint and the page size rules.

## Work items

- [Assign a work item](https://goingstellar.ro/reference/atlassian-rest-api/assign-issue.md): PUT /rest/api/3/issue/{issueIdOrKey}/assignee assigns a user by accountId, unassigns with null, or restores the default assignee with -1.
- [Attachments](https://goingstellar.ro/reference/atlassian-rest-api/jira-attachments.md): Upload a file to a Jira work item with multipart and X-Atlassian-Token: no-check, read the attachment, check the upload limit and delete it.
- [Bulk create work items](https://goingstellar.ro/reference/atlassian-rest-api/bulk-create-issues.md): POST /rest/api/3/issue/bulk creates up to 50 work items per call. A mixed batch answers 201 with an issues list and an errors list.
- [Changelog](https://goingstellar.ro/reference/atlassian-rest-api/issue-changelog.md): Read the history of a Jira work item with GET /rest/api/3/issue/{issueIdOrKey}/changelog, paged oldest first, or with expand=changelog on the issue.
- [Comment visibility](https://goingstellar.ro/reference/atlassian-rest-api/comment-visibility.md): The visibility object on a Jira comment: group or role restriction, what the 400 for an unknown role says and what a comment without it looks like.
- [Comments](https://goingstellar.ro/reference/atlassian-rest-api/issue-comments.md): Comment endpoints on a Jira work item: ADF bodies on v3, plain strings on v2, listing with orderBy, edits, deletes and the 400 for a bad body.
- [Create a work item](https://goingstellar.ro/reference/atlassian-rest-api/create-issue.md): Create a Jira work item with POST /rest/api/3/issue: project, issue type, summary, ADF description, labels and due date, plus the v2 wiki variant.
- [Create work item errors](https://goingstellar.ro/reference/atlassian-rest-api/create-issue-errors.md): The 400 and 415 responses of POST /rest/api/3/issue, with real bodies: missing fields, bad issue type, unknown project, ADF string, wrong Content-Type.
- [createmeta](https://goingstellar.ro/reference/atlassian-rest-api/issue-createmeta.md): Find which issue types a project allows and which fields a create body needs with the paged createmeta endpoints, with real responses.
- [Delete a work item](https://goingstellar.ro/reference/atlassian-rest-api/delete-issue.md): DELETE /rest/api/3/issue/{issueIdOrKey} answers 204 and the key is then gone. Sub-tasks block the delete unless deleteSubtasks is set.
- [Edit a work item](https://goingstellar.ro/reference/atlassian-rest-api/edit-issue.md): Edit a Jira work item with PUT /rest/api/3/issue/{issueIdOrKey}: 204 on success, returnIssue for the result, notifyUsers, and the errors you will meet.
- [editmeta](https://goingstellar.ro/reference/atlassian-rest-api/issue-editmeta.md): GET /rest/api/3/issue/{issueIdOrKey}/editmeta lists the editable fields of one work item with required flags, operations and allowed values.
- [Get a work item](https://goingstellar.ro/reference/atlassian-rest-api/get-issue.md): Read a Jira work item with GET /rest/api/3/issue/{issueIdOrKey}: pick fields, expand names, rendered HTML and transitions, and handle the 404.
- [Remote links](https://goingstellar.ro/reference/atlassian-rest-api/remote-links.md): Attach external URLs to a Jira work item with /rest/api/3/issue/{issueIdOrKey}/remotelink: create with 201, list as a bare array, delete by id.
- [Transitions](https://goingstellar.ro/reference/atlassian-rest-api/issue-transitions.md): Move a Jira work item through its workflow with GET and POST /rest/api/3/issue/{issueIdOrKey}/transitions. Real transition ids, 204 and 400 bodies.
- [Update operations (add, remove, set)](https://goingstellar.ro/reference/atlassian-rest-api/edit-issue-update-operations.md): Use the update object of PUT /rest/api/3/issue/{issueIdOrKey} to add, remove or set values. Real label examples and the fields-versus-update clash.
- [Votes](https://goingstellar.ro/reference/atlassian-rest-api/issue-votes.md): Read, add and remove votes on a Jira work item with /rest/api/3/issue/{issueIdOrKey}/votes, with the real bodies and status codes.
- [Watchers](https://goingstellar.ro/reference/atlassian-rest-api/issue-watchers.md): List, add and remove Jira watchers with /rest/api/3/issue/{issueIdOrKey}/watchers. The add body is a bare JSON string; delete uses a query parameter.
- [Work item links](https://goingstellar.ro/reference/atlassian-rest-api/issue-links.md): Create, read and delete links between Jira work items with /rest/api/3/issueLink: link types, the empty 201, and how inward and outward swap.
- [Work item properties](https://goingstellar.ro/reference/atlassian-rest-api/issue-properties.md): Store custom JSON on a Jira work item with /rest/api/3/issue/{issueIdOrKey}/properties: set with 201, read, list keys, delete.
- [Worklogs](https://goingstellar.ro/reference/atlassian-rest-api/worklogs.md): Worklog endpoints on a Jira work item: timeSpent or timeSpentSeconds, the strict started format, listing, partial updates and deletes with adjustEstimate.

## Search with JQL

- [Approximate count](https://goingstellar.ro/reference/atlassian-rest-api/approximate-count.md): POST /rest/api/3/search/approximate-count returns an estimated count for bounded JQL, because the JQL search itself has no total.
- [JQL autocomplete](https://goingstellar.ro/reference/atlassian-rest-api/jql-autocomplete.md): GET /rest/api/3/jql/autocompletedata lists fields, operators, functions and reserved words; the suggestions endpoint completes values such as statuses.
- [Parse and validate JQL](https://goingstellar.ro/reference/atlassian-rest-api/jql-parse.md): POST /rest/api/3/jql/parse checks several JQL strings at once and returns the parsed structure or the error text, with status 200 either way.
- [Search with JQL](https://goingstellar.ro/reference/atlassian-rest-api/search-jql.md): POST or GET /rest/api/3/search/jql: nextPageToken paging, the id-only default for fields, unbounded JQL errors and the 410 on the old search.

## Users and permissions

- [Find users](https://goingstellar.ro/reference/atlassian-rest-api/user-search.md): GET /user/search, /user/assignable/search, /users/search and /user: query matching, app accounts, assignable users and the accountId-only lookup.
- [My permissions](https://goingstellar.ro/reference/atlassian-rest-api/mypermissions.md): Ask Jira which project permissions the current user holds with mypermissions, list all permission keys, and see the 400 when permissions is missing.
- [The current user](https://goingstellar.ro/reference/atlassian-rest-api/myself-current-user.md): GET /rest/api/3/myself returns the account behind the credentials: accountId, time zone, locale, collapsed groups; a 401 plain-text body without auth.
- [Users, bulk lookup and groups](https://goingstellar.ro/reference/atlassian-rest-api/user-groups.md): GET /user/bulk, /user/groups and /user?expand=groups: a paged bulk lookup by accountId, group names with ids, and collapsed groups by default.

## Projects and configuration

- [Fields, work types, priorities, statuses](https://goingstellar.ro/reference/atlassian-rest-api/fields-issuetypes-priorities.md): Fields, field search, work types globally and per project, priorities, resolutions and statuses: shapes, counts and the scope key on work types.
- [Filters and dashboards](https://goingstellar.ro/reference/atlassian-rest-api/filters-dashboards.md): GET /filter/search and /dashboard: the envelope shapes, the expand list that hides owner and jql, and a board whose filter the search does not list.
- [Global configuration](https://goingstellar.ro/reference/atlassian-rest-api/jira-configuration.md): GET /configuration, /configuration/timetracking, /attachment/meta and /serverInfo: feature switches, working hours, upload limit and server time.
- [Project statuses, components and versions](https://goingstellar.ro/reference/atlassian-rest-api/project-statuses-components-versions.md): Statuses grouped per work type, empty component and version lists, and the global statuses search with its uppercase statusCategory.
- [Projects](https://goingstellar.ro/reference/atlassian-rest-api/projects.md): GET /project/{key}, /project/search paging and orderBy, project roles, and the style and simplified flags that tell team-managed from company-managed.

## Boards and sprints

- [Boards and sprints (Agile API)](https://goingstellar.ro/reference/atlassian-rest-api/agile-boards-sprints.md): Jira Software Agile API: /rest/agile/1.0/board, project filtering, board configuration, board issues with Deprecation headers, and board sprints.

## Confluence pages and spaces

- [Attachments](https://goingstellar.ro/reference/atlassian-rest-api/confluence-attachments.md): Upload a file to a Confluence Cloud page with the v1 multipart call, list attachments with v2, delete them, and the XSRF 403 without the header.
- [Body formats](https://goingstellar.ro/reference/atlassian-rest-api/page-body-formats.md): Storage, atlas_doc_format, view and wiki body formats in Confluence REST API v2: what you can read, what you can write, and what is stored.
- [Child pages](https://goingstellar.ro/reference/atlassian-rest-api/page-children.md): List the child pages of a Confluence Cloud page with REST API v2, and see how a v2 child and a v1 ancestor-based page both appear in the list.
- [Confluence REST API v1 vs v2](https://goingstellar.ro/reference/atlassian-rest-api/confluence-v1-vs-v2.md): How Confluence Cloud REST API v1 (/wiki/rest/api) and v2 (/wiki/api/v2) differ in ids, expansion, pagination and deprecation headers, with real calls.
- [Content properties](https://goingstellar.ro/reference/atlassian-rest-api/content-properties.md): Create, list, update and delete Confluence Cloud page content properties with REST API v2: key, JSON value and the version rule on update.
- [CQL search through the API](https://goingstellar.ro/reference/atlassian-rest-api/cql-search-api.md): Run CQL against Confluence Cloud with /wiki/rest/api/search and /content/search: result shapes, limit, the next cursor and the 400 on a bad query.
- [Create a page](https://goingstellar.ro/reference/atlassian-rest-api/create-page.md): Create Confluence Cloud pages with REST API v2: child pages, drafts and duplicate titles, plus the v1 call, shown with real requests and responses.
- [Delete, trash and purge](https://goingstellar.ro/reference/atlassian-rest-api/delete-trash-purge.md): Confluence Cloud REST API v2 delete: move a page to the trash, read it there, purge it for good, and discard a draft, with real status codes.
- [Find a page by title](https://goingstellar.ro/reference/atlassian-rest-api/find-page-by-title.md): Find a Confluence Cloud page by title with REST API v2, v1 or CQL: the filters, the unique-title rule and what each call returns.
- [Footer comments](https://goingstellar.ro/reference/atlassian-rest-api/footer-comments.md): Add, list and delete footer comments on a Confluence Cloud page with REST API v2: the pageId body, storage format and the 201 response.
- [Get a page](https://goingstellar.ro/reference/atlassian-rest-api/get-page.md): Read a Confluence Cloud page by id with REST API v2: default response, body-format, trashed pages and the 404 error, taken from real requests.
- [Labels](https://goingstellar.ro/reference/atlassian-rest-api/page-labels.md): Confluence Cloud labels through the REST API: add with v1, list with v2, remove by name, with the real requests and the 204 on delete.
- [Page restrictions](https://goingstellar.ro/reference/atlassian-rest-api/page-restrictions.md): Read who may view or edit a Confluence Cloud page with GET /wiki/rest/api/content/{id}/restriction, and where restrictions show in other responses.
- [Spaces](https://goingstellar.ro/reference/atlassian-rest-api/spaces.md): Look up Confluence Cloud spaces by key with REST API v2, compare with v1, and list the pages of a space with cursor pagination.
- [The current user in Confluence](https://goingstellar.ro/reference/atlassian-rest-api/confluence-current-user.md): Read the current Confluence Cloud user with GET /wiki/rest/api/user/current and find the same account id in page, version and space data.
- [Update a page and versions](https://goingstellar.ro/reference/atlassian-rest-api/update-page-versions.md): Update a Confluence Cloud page with REST API v2: the version number rule, the 409 on a stale version, and listing page versions.

## Sources

- [The Jira Cloud platform REST API v3 (Atlassian Developer)](https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/)
- [Jira Software Cloud REST API (Atlassian Developer)](https://developer.atlassian.com/cloud/jira/software/rest/intro/)
- [The Confluence Cloud REST API v2 (Atlassian Developer)](https://developer.atlassian.com/cloud/confluence/rest/v2/intro/)
- [The Confluence Cloud REST API v1 (Atlassian Developer)](https://developer.atlassian.com/cloud/confluence/rest/v1/intro/)
- [Rate limiting, Jira (Atlassian Developer)](https://developer.atlassian.com/cloud/jira/platform/rate-limiting/)

