Skip to content
Ingrid Kovarová

Dec 4, 202616 min read

The Jira Cloud API is a REST interface at your-site.atlassian.net/rest/api/3. It reads and writes issues, projects and users, and it's authenticated with either an API token or OAuth 2.0, whether you call it from a script or from a workflow tool such as Activepieces.

Everything below matches developer.atlassian.com as of 4 December 2026.

You can make the first call in about five minutes. What decides whether it survives is who gets paged when it fails at 2am on a Tuesday, and who owns the credential behind it.

Access Jira Cloud through its REST interface

What the API lets you do

It shows what one site exposes and the two ways in.

  • Issues
  • Projects
  • Users
  • The base URL, your-site.atlassian.net/rest/api/3
  • API token
  • OAuth 2.0

When the person who created an API token leaves, the automation breaks, or quietly loses access, because the token acts as them.

OAuth 2.0 ties access to an app and to scopes you grant, which makes ownership explicit but adds setup. Which one you pick is the first design decision, and the rest of this article follows from it.

**When the person who created an API token leaves, the automation breaks, or quietly loses access, because the token acts as them.

Before you copy an example, confirm which product you're calling. Jira Cloud is Atlassian's hosted product at an atlassian.net address.

Data Center is the version you run yourself, with its own base URL and its own credential options. Documentation for one will mislead you on the other.

Which REST version to call (v3 vs v2)

Call v3 for new work. Both versions exist on Cloud, but v3 is the one in the base URL above, and it returns rich-text fields such as descriptions and comments in Atlassian Document Format rather than plain text.

Activepieces workflow builder with the Send HTTP request step selected, showing its configuration panel with HTTP method…

Existing v2 integrations keep working, so migrate them deliberately rather than in a hurry.

You don't have to hand-write the whole flow: Activepieces' built-in chat can build a Jira flow from a plain description, and flows support retries and schedules, so you can add pacing and retry steps and read them before publishing.

Tell it to raise an OPS task when a disk alert fires and it publishes the same flow a builder would have wired by hand, under the platform's RBAC, audit logs and run traces, the setup MoneyGram and Moneypenny run in production.

A workflow canvas showing an Instance Stopped trigger connected to a Revoke Token HTTP request step, with the right panel…

Everything below works on Activepieces' free plan. Start without code or a credit card.

How to get Jira Cloud API access

Use an API token for a script one person owns, OAuth 2.0 (3LO) for a product acting for many users, and Forge when the code should run inside Atlassian.

Read the table for who each option acts as, so you know whose name is on every call and who gets paged when it breaks.

Acts as whom Setup effort Scopes Token lifetime Best fit
API token, basic auth The user who created it Minutes That user's permissions Expires, up to a year One-person scripts
OAuth 2.0 (3LO) app Each user who consents Moderate Declared, user-approved Short-lived, refreshed Multi-user integrations
Forge app The app, or the invoking user Higher Declared in the manifest Platform-managed Apps living in Jira

The dangerous column is the first one: pick by owner, not convenience.

If the person who made the token leaves or their account goes inactive, the automation fails with no warning. Name an owner and a renewal date before it ships.

With OAuth 2.0 (3LO), each user consents to named scopes, so access is narrower and traceable. The cost is a refresh flow you must build and monitor, because short-lived access tokens expire quietly into 401 errors.

Forge and Connect apps

Nobody handles tokens on Forge: Atlassian runs the app and manages credentials. Connect is the older framework, and the marketplace has moved.

Karelia Labs counts 5,918 Forge apps against 903 Connect apps, roughly six to one. A new build on Connect is therefore betting on a framework whose ecosystem is shrinking relative to its replacement.

Atlassian Marketplace cloud apps by framework: Forge and Connect

Whichever you choose, record the owner next to it.

Authentication steps from zero to a 200

Three things get you a first successful call: a credential, a header built from it, and, for anything acting on behalf of other people, a short OAuth round trip. Each of these has an owner who gets the page when it breaks.

Create and store the token

For a script that acts as one account, create an API token from your Atlassian account's security settings, as the Jira Cloud basic auth documentation describes.

The token inherits that account's permissions, so a token made from a personal account carries a person's access into a system that outlives their employment.

Create it from a dedicated service account where your policy allows, and put it in a secrets manager, not in the repository or a CI variable anyone can print. Atlassian shows the token once. If you lose it, you replace it and update every caller.

A single API token card being placed into a locked secrets manager safe, while an open repository folder beside it sits…

Build the Authorization header

To build the header, join the account email and the token with a colon, base64-encode the result, and send it as Authorization: Basic <encoded>. The request goes to your site's own address, https://your-domain.atlassian.net/rest/api/3/, followed by the resource path.

If a read endpoint such as the current-user lookup returns a 200, the credential, the site address and the permissions are all confirmed in one call.

A 401 means the email or token is wrong. A 403 or an empty result usually means the account lacks access to that project.

OAuth: authorize, exchange, find the cloud ID

Use OAuth 2.0 three-legged (3LO) when users grant your app access to their own Jira data. The sequence never varies, and the Atlassian 3LO documentation covers each step:

  1. Register the app in the developer console and set its callback URL and scopes.
  2. Send the user to the authorize URL, where they approve those scopes.
  3. Exchange the returned code for an access token at the token endpoint.
  4. Call the accessible-resources endpoint with that token to get the cloud ID of each site the user granted.
  5. Call api.atlassian.com/ex/jira/{cloudId} with the token, followed by the resource path.

Three steps: an account email card and an API token card joined by a colon, turned into a long encoded string strip, then…

Notice that OAuth calls never touch the customer's own domain. In OAuth, the cloud ID from step four is the only way your code learns where to send requests, so store it with the token.

When tokens expire, whoever holds the refresh logic owns the integration's uptime. What follows is what happens once these calls start arriving in volume: rate limits.

A minimal working Jira Cloud API request

Until a single call works, volume does not matter, and the minimal one is an authenticated GET to /rest/api/3/myself. It also shows whose account every later call runs as.

curl -u [email protected]:$JIRA_API_TOKEN \
 -H "Accept: application/json" \
 https://your-domain.atlassian.net/rest/api/3/myself

Check which account the response names behind the token. If that's a person's account, the automation stops when they leave and someone gets paged. Decide who owns the identity now.

Create an issue

curl -u [email protected]:$JIRA_API_TOKEN \
 -H "Content-Type: application/json" \
 -X POST https://your-domain.atlassian.net/rest/api/3/issue \
 -d '{"fields":{"project":{"key":"OPS"},"issuetype":{"name":"Task"},
 "summary":"Disk alert",
 "description":{"type":"doc","version":1,"content":[
 {"type":"paragraph","content":[{"type":"text","text":"Raised by automation."}]}]}}}'

In v3 the description must be Atlassian Document Format, a JSON tree. Jira rejects a plain string, so a payload that worked in a v2 script fails here.

Read the run trace for one authenticated POST and you see the exact request sent and the response returned, with a success status, without reproducing it.

Once a call is visible like that, you can tell a bad payload from a bad token. Search is the other half of the loop.

curl -u [email protected]:$JIRA_API_TOKEN -G \
 --data-urlencode "jql=project = OPS AND status = Open" \
 --data-urlencode "fields=summary,status" \
 https://your-domain.atlassian.net/rest/api/3/search/jql

This is the current JQL endpoint. It pages with a token, not an offset: each response carries a nextPageToken until the last page. Pass it back on the next request.

Request your fields explicitly, because the default response is sparse and a job that expects summaries will quietly process empty ones.

Easier to see it running than to read about it: set it up free, no card.

Manage Jira Cloud API rate limits and costs

Count in points, not requests: Jira Cloud meters calls that way. The second thing to get right after your field list is the budget. Most calls cost one point, user and group lookups cost two, and going over returns a 429 with a Retry-After header.

A meter gauge showing a points budget nearly full, beside a row of request cards where most carry one coin and user and…

Limit types and how they are measured

Even an empty call draws on your quota, because a base request costs 1 point, according to LeanZero.

Each object read adds 1 point, and each write also costs 1, so a job that reads and then updates an issue spends more than a job that only reads.

Resolve assignees through user lookups and a sync burns budget twice as fast as one that reads issues, because a user or group costs 2 points per item. Someone owns that job, and they're the one paged when it stalls.

Reading 429 and Retry-After

When a 429 comes back, you have exceeded a limit; the call was not malformed. Retry-After tells you how long to wait before trying again.

Honor that value rather than a fixed sleep, because a guessed delay either wastes the window or hits the limit again.

Log every 429 with the job name so the on-call person can see which workflow spent the budget.

Limits by plan or app type

The burst limit trips in seconds while the hourly pools trip over a whole run, so you need different handling for each. The table shows the four limits, what each one covers, and what Jira does when you reach it.

Rate-limit points charged per part of a Jira API request

Limit Scope Response
Burst (100 req/s) Requests per second 429; wait for Retry-After
Tier 1 pool (65,000 points/hr) Hourly points pool for the app 429; wait for Retry-After
Tier 2 Standard (100,000 + 10/user, cap 500,000) Hourly points, growing with user count 429; wait for Retry-After
Tier 2 Premium (130,000 + 20/user, cap 500,000) Hourly points, growing faster per user 429; wait for Retry-After

Past 500,000, adding users buys no extra headroom, because both Tier 2 quotas stop growing there, and a large instance has to reduce its call volume instead.

Common Jira Cloud API errors and their fixes

Before anything else, decide whether the caller or the platform owns the failure; Jira's error codes tell you whose problem it is. A 2am page that says "automation failed" is useless until someone can say which side of that line the response sits on.

Jira Cloud API 4xx client errors and fixes

Read the table below as a triage order, mapping each status code to the cause you'll most often see from Jira and the fix: a 4xx means retrying the same request won't help, so change the request or the credential, not the schedule.

Status Typical Jira cause Fix
400 Bad JQL, or a malformed ADF (Atlassian Document Format) body in a description or comment Validate the JQL in the issue search first; build rich text as proper ADF documents rather than plain strings
401 Expired or revoked token, or wrong credentials Refresh the OAuth token or issue a new API token, then store the replacement where the next run can read it
403 Missing scope, or the account lacks permission on the project Add the required scope to the app, or grant the integration's account the project permission
404 Hidden resource: Jira often returns not found for issues the caller can't see Check the key, then check the account's visibility before assuming the issue was deleted
429 Rate limit exceeded Wait for the interval the response specifies, then retry with backoff
5xx Fault or overload on Atlassian's side Retry with backoff and jitter; escalate only if it persists

403 and 404 waste the most time. Both can mean "you may not see this," so a missing issue and a permissions gap look identical from the caller's side. The fix is to audit the account before touching the code.

Retry Jira Cloud API 429 and 5xx errors

Retry only these two classes. Honor any wait interval the 429 response gives you, and where none is given, back off exponentially with random jitter. Without jitter, every worker that was throttled together retries together, and the burst that caused the limit returns on schedule.

Cap the number of attempts and route exhausted requests to a named owner, not a silent log line.

You can avoid most throttling by asking for less.

  • Use webhooks instead of polling, so Jira tells you when an issue changes and you stop spending quota on checks that find nothing.
  • Request only the fields you need, which shrinks every response and the work behind it.
  • Paginate searches and process one page at a time rather than pulling a whole result set in a single call.

Once a large instance has outgrown its quota, call volume is the only lever left, and these habits cut it.

Call Jira Cloud endpoints without code in Activepieces

Activepieces is an open-source automation platform that gives you a Jira Cloud connector with built-in triggers and actions.

It also has a raw API call action for any endpoint the connector doesn't cover, so you describe the process on a canvas instead of writing the client.

Jira's rate limits and your credentials still apply, even though the platform holds the connection and shows each run; the quota stays Jira's.

The practical gain is ownership. When a hand-built script fails at 2am, the person paged inherits whatever the author left behind: a token in an environment variable, a retry loop nobody documented.

In a flow, the credential lives in one named connection. The run trace records each step's result, so the on-call person can see which step failed and with what response.

On a different app, the screenshot below shows the pattern: a workflow titled "AI Blog Writer" with a trigger, two OpenAI steps and a WordPress step.

The selected step's panel shows its action ("Create Post"), its connection ("wordpress") and its fields filled from earlier steps ("2. Open AI" as the title, "3. Open AI" as the content).

Activepieces workflow builder displaying an AI blog writing automation with OpenAI and WordPress integration steps.

A Jira flow is configured the same way, and every value traces back to the step that produced it.

Configuration stays this visible whichever Jira step you add.

Use the built-in actions

Start with the connector's own triggers and actions, such as reacting to a new issue or creating one. Each takes a Jira connection, so you make the auth decision once, at the connection, and every step reuses it.

Prefer these where they exist: the field mapping is already done, and you're not maintaining request bodies that break when you mistype a field name.

Send a raw API request to any endpoint

When the action you need is missing, use the custom API call action against the Jira Cloud REST endpoint directly. You supply the method, path and body, and the connection supplies the authorization.

Activepieces workflow builder with HTTP request step selected and its settings panel open showing method, URL, headers, and…

You now own the payload and the error handling for that step, and that is the cost.

A rate-limit response from Jira arrives in the run trace like any other failure, so decide in the flow what should happen next rather than discovering it in production.

Frequently asked questions

Is the Jira Cloud API free to use?

Yes, Atlassian doesn't charge separately for calling the Jira Cloud REST API; what you pay for is the Jira site and plan behind it.

Elsewhere is where the cost shows up: the licensed user whose identity the calls run under, and the engineering time spent keeping the integration alive. Decide which account that is before launch, because the 2am page goes to whoever owns it.

Can I use the API on Jira's free plan?

Yes, a Jira Cloud site on the free plan can be called through the REST API like any other Jira Cloud site.

Treat plan-level limits on users and features as the constraint.

Check Atlassian's current plan comparison before you build, since a feature your flow relies on may sit behind a paid tier. If a call works in testing on a free site, confirm it also works on the plan production will use.

Do API tokens expire?

Yes, tokens created in an Atlassian account carry an expiry date chosen when you create them, and an expired token fails like a bad credential. That means a working integration can stop on a calendar date nobody wrote down.

Record the expiry, name a person who renews it, and prefer a service account over a staff member's personal one, so renewal doesn't leave with an employee.

Should I use webhooks instead of polling?

Use webhooks for reacting to changes, and keep a slow poll as a safety net. Webhooks deliver events promptly and spare your rate limit, but a missed delivery is silent.

Because webhooks registered through the API also expire and must be refreshed, someone has to own that job too. A periodic reconciliation query catches what a dropped event missed, and the run trace will show you which path fired.

Share

Get started

Automate this without code.

Cloud or your own servers.

Start free Talk to sales