How to retrieve an account by its key in Tempo Accounts REST API

We are currently looking into implementing a more automated interface between our accounting system and Tempo.

The only thing I could find was retrieving all existing accounts through

GET https://<<JIRA>>/rest/tempo-accounts/1/account/

However, this adds unnecessary complexity and performance impact to what could (and should) have been a really simple API mapping.

1 answer

Hi Edward

It is not possible to retrieve an account by it's key in Tempo Accounts REST API. However, it is possible to retrieve an account by ID. Please see below:

GET https://<<JIRA>>/rest/tempo-accounts/1/account/{id}

To view the ID number of existing accounts please hover over account in the Accounts list. The ID number will be displayed at the end of the url in a pop up that appears to the bottom left of the screen.

Information on account REST API can be found at:

But please note that the REST API is a work in progress and is subject to changes. Product updates may cause significant changes in function without advance warning

JIRA documentation on REST API:

If you wish to retrieve by key please create a new feature request for this in our Atlassian JIRA (

I hope this was helpful.

Best regards,

Heiða Dóra

Tempo Team

Hello! How would I get the ID from inside a 3rd party application?

Hi Edward, to access the REST service you have to be an authenticated user with Browse Account permission. So to retrieve the data from 3rd party application you could authenticate your user by using curl from the command line. With the curl you would send the user name and password, the JIRA documentation on REST API ( uses curl in their examples and you could look at that for reference. I hope this helped. Best regards, Anna Vigdís Tempo Team

@Anna Hello Anna! No it did not answer my question. I know what a REST API is and how to authenticate against it. I want to know how to get to the internal ID of an Account which I need to retrieve the details of an Account, without iterating through the whole list of accounts.

Hi Edward, right now there is no good way of doing that, but we have looked at your feature request and this will be implemented soon for accounts. Best regards, Anna Vigdís Tempo Team

@Anna Hello, thank you that is great to hear!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,269 views 0 8
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you