Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

What is the simplest way to connect to Tempo API?

My goal is to check if several users of Jira have tracked their time. 

We track time by Tempo plugin. I found so many ways how to connect to the API. 

I found there resources: 

And some others. I've git lost what to use and how to connect.

2 answers

1 accepted

2 votes
Answer accepted
Warren Community Leader Jan 23, 2020

Hi @Michael 

If this question has been tagged correctly, you're using Jira cloud? Then I would go with the first link that you gave, because it is for cloud and is also using the latest API, v3. This is the document that I use

The other links seem to be related to the server version

Hi, @Warren . Thanks for help :)

Yes, I think i need Jira cloud. In the first link, there is point about connection.

Should I connect as throw API token (Bearer Token) or use Oauth 2.0.

if second, what is should put in Redirect URIs? (I am an admin in Jira)

Warren Community Leader Jan 23, 2020

Hi @Michael 

You should be using OAuth 2.0, as per the below from that link


Like soporte-tecnico likes this


I don't understand too what to put in Redirect URIs in the second case?


Hi @Warren ,

As a backend API developer, trying to get access to Tempo sheets without any frontend whatsoever, I don't understand too what to put in the Redirect URI too. Can you assist what to put there in this case?

In the meantime, I'll try using access token from API Integration section, since it doesn't seem to require some redirects and so on.

Warren Community Leader Jul 16, 2020

Hi @Vladyslav Huba 

If you're looking at the Tempo documentation link above and trying to connect as an individual user, there is no need for a Redirect URI. You just use your own email address and the API token. Working through that process, you are never asked for a Redirect URI.

If that is not what you're doing, let me know exactly what it is that you're trying and where it asks for this URI.

For anyone struggling to make the API work:
You actually have to pass the term "Bearer " in the request. I spent two hours passing my email id.

Also you SHOULD'NT encode the API_TOKEN. Code below FYR :


def TEMPO_URL = "";
def TEMPO_TOKEN = "yHq0o232323Rr9sdsdsS61n1IufgfggTAEOOAj4";

String basicAuth = "Bearer " + TEMPO_TOKEN;
def connection = new URL(TEMPO_URL).openConnection() as HttpURLConnection;
connection.setRequestProperty( "Authorization", basicAuth );

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you