how to get billing data for account

Hi, I am writing a billing aggregator for a client company.  I need to be able to get billing information, like the data on /admin/billing/overview.  I notice that there are 2 REST calls on this page that give me exactly what I need, but I can't find documentation on them anywhere.  Specifically, how is the number calculated in the query string:




1 answer

0 vote

Well, the _=<number> part of the url is just the standard jQuery "cache buster". So it is unimportant.

As for the name suggests, that url is a proxy through one service to another. It is NOT a public api and you should not expect it to be stable and work for you.

However, if you were to inspect the headers and structure of the HTTP request you could work out how to query that automatically.

Please keep in mind that these url's are completely unsupported for public consumption. The only supported pages, with respect to biling, are the pages that you find at /admin/billing/overview

You may be able to raise an issue at in the CLOUD project to have a public billing rest api.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,316 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot