Tempo API
Tempo Connection
The Tempo connector connects OnLink to your Tempo Cloud instance so OnLink can read data through the Tempo REST API. This guide walks through choosing the right API URL, creating a Tempo API token, and adding both to OnLink.
At a glance
Connection field | Value | Where to get it |
|---|---|---|
URL | Usually | Depends on your Tempo instance (step 1) |
Api Key | Tempo API token | Tempo → Settings → API Integration (step 2) |
Authentication | API TOKEN | Handled by OnLink |
Before you begin
A Jira Cloud user with access to Tempo who can open Settings in the Tempo sidebar and create API tokens.
A token works with that user's Tempo permissions, so use a user who can see the data you plan to sync.
Access to OnLink to create the connection.
Step 1: Choose your Tempo API URL
Determine where your Tempo instance is hosted. The URL depends on your Tempo instance, but is usually one of:
https://api.tempo.iohttps://api.eu.tempo.io(Tempo data hosted in the EU)
Use that value as the URL in OnLink.
Make sure there's no slash at the end of the URL — enter https://api.tempo.io, not https://api.tempo.io/.
Tip: If your organization pinned Tempo data to a region (see Tempo's Data Residency – Pin Tempo Data), use the API URL for that region.
Step 2: Create an API token in Tempo
Tempo's screens may change over time. If they differ from these steps, follow Tempo's Using REST API integrations guide.
In Jira, open Tempo and select Settings in the Tempo sidebar.
Under Data Access, select API Integration.
Click New Token at the upper right.
Enter a Name that identifies where the token is used, e.g.
OnLink.Set the Expiry. The default is 30 days; choose a longer period if you don't want to replace the token often.
Choose the access: Full access, or Custom access with at least View access to the scopes OnLink needs to read.
Click Confirm.
Copy the token from the dialog, store it securely, then click Close.
Copy the token now. Tempo only shows the token when you first generate it. If you lose it, create a new token and update OnLink.
Security: Treat the API token like a password. Do not commit it to source control or include it in screenshots, tickets, or chat.
A token's access can't be changed after it's created, and a full-access token only covers scopes that existed when it was created. Regenerating or deleting a token immediately revokes access for OnLink — update the connection with the new token.
Step 3: Add the connection in OnLink
In OnLink, create a new connection and select Tempo.
Enter the URL from step 1 (no trailing slash).
Paste the token from step 2 into Api Key.
Save the connection.
Step 4: Verify the connection
Run a test sync (or Get Data) using the new Tempo connection.
Confirm that records are returned and that the fields you need are populated.
If anything fails, check the OnLink Job logs and the troubleshooting section below.
Done: The connection is saved, OnLink can authenticate to Tempo, and data is returned.
Troubleshooting
Symptom | Likely cause and fix |
|---|---|
401 Unauthorized | The token is wrong, expired, regenerated or deleted. Create a new token and update the connection. |
404 Not Found / requests fail | The URL is wrong or ends with a slash. Use |
Data missing or access denied for some data | The token's custom access doesn't include that scope, or the token owner can't see that data in Tempo. Create a new token with the right access (scopes can't be edited). |
Tempo documentation
Using REST API integrations — creating and managing API tokens
Tempo REST API documentation — API reference
Tempo API version 4.0 vs. version 3.0 — differences in the current API version
Data Residency – Pin Tempo Data — where your Tempo data is hosted