The common belief is that you need special tools or a paid add-on to reach Jira data programmatically. The accurate answer is that Jira exposes a REST API over HTTPS, so any client that can send HTTP requests can read and write issues, projects, and users. You authenticate with an API token, call endpoints under your site's /rest/api/ path, and receive JSON back.

What the Jira REST API actually gives you

The Jira REST API is a set of HTTP endpoints that mirror the objects you see in the web interface. Each issue, project, comment, attachment, and user has a URL you can call. Requests return JSON, and writes go back as JSON too. That means a script, a spreadsheet macro, or a small internal tool can do the same work a person does by clicking.

The base pattern is simple. Your site URL plus /rest/api/ plus a resource path plus an identifier. For example, a single issue lives at /rest/api/2/issue/KEY-123, where KEY-123 is the issue key you see on screen. The version segment in the path tells the API which shape of response to expect; check your instance's documentation for the current version rather than assuming.

Every call needs three things: the right URL, a valid credential, and a request body that matches the endpoint's expected fields. Miss any one and you get an error code rather than data. That is the whole model, and everything below is detail on those three parts.

How authentication works with an API token

Jira does not accept your normal password for API calls. You create an API token in your account settings, then send it with each request. The standard method is HTTP Basic authentication: your account email as the username and the token as the password, encoded together.

Tokens are secrets. Store them in an environment variable or a secrets manager, never in code that gets committed or shared. If a token leaks, revoke it in your account settings and issue a new one. Treat each token as belonging to one person, because actions taken through it appear under that account.

Some deployments also accept personal access tokens or OAuth, depending on how the instance is configured. If Basic auth returns an authorization error, check with your Jira administrator which method your site allows before changing anything else.

Reading an issue with a single request

The most common first task is fetching one issue. Send a GET request to the issue endpoint with the issue key in the path. The response contains the issue's fields: summary, status, assignee, description, comments, and whatever custom fields your project uses.

  1. Build the URL: your site address, then /rest/api/2/issue/, then the issue key.
  2. Add an Authorization header using Basic auth with your email and API token.
  3. Send the GET request and read the JSON response.
  4. Pick the fields you need from the response body rather than dumping the whole object.

Responses can be large because custom fields add up. Use the fields query parameter to ask for only what you need, which keeps responses small and fast. A request for just summary and status returns far less than a full issue fetch.

Searching with JQL through the API

To find many issues at once, use the search endpoint with a JQL query. JQL is the same query language the web interface uses in its advanced search, so anything you can express there you can send through the API. A query like project = DEMO AND status = "In Progress" returns matching issues.

Search results are paged. The response includes a batch of issues and a token or start position for the next batch. Loop until you have them all, and set a reasonable page size so you do not overload the server or your own memory. Sort results in the query when order matters, because default ordering is not guaranteed to be stable across pages.

Be careful with JQL that returns thousands of issues. Narrow the query with dates, status, or assignee before pulling everything. A broad query is the most common reason a first script feels slow.

Creating and updating issues from a script

Writes use POST to create and PUT to update. A create request needs a project key, an issue type, and a summary at minimum; other fields are optional and depend on your project's configuration. The response returns the new issue's key and URL, which you should capture so later calls can reference it.

Updates send only the fields you want to change. A PUT to the issue endpoint with a small JSON body changes those fields and leaves the rest alone. Transitions, such as moving an issue to Done, use a separate endpoint and require the transition ID, which you can list from the issue's transitions endpoint first.

Custom fields are the usual stumbling block. Each one has an internal ID like customfield_10001, and the value shape differs by field type: a text field takes a string, a select field takes an object with a value, a user field takes an account ID. Fetch one existing issue that already has the field filled in and copy its shape.

Errors, rate limits, and what to check first

Error codes tell you where to look. A 400 means your request body or query is malformed. A 401 means the credential is wrong or missing. A 403 means the account lacks permission for that action. A 404 usually means the issue key or endpoint path is wrong. A 429 means you are sending requests too fast and should back off.

Rate limits exist to protect the server. When you receive a 429, wait before retrying rather than looping immediately. Add a short pause between calls in bulk scripts, and retry failed requests a limited number of times with increasing delays.

When something fails, check in this order: the URL path, the authentication header, the permission of the account, then the request body shape. Most errors come from one of those four, and each has a distinct error code that points to it.

Do I need admin rights to use the API?

No. The API respects the same permissions as the web interface. Your token can do what your account can do, and no more. If an action fails with a permission error, the account needs that permission granted in Jira.

Can I call the API from a browser tab?

Not directly with a token, because the browser will not attach the header you need. Use a command-line tool, a script, or an API client that lets you set headers. That keeps the token out of the address bar and out of browser history.

What format does the API return?

JSON, by default. Set the Accept header to request it explicitly, and send Content-Type as JSON on writes. If you receive HTML instead of JSON, the request likely hit the web interface rather than the API path.