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 votes

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 Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,224 views 5 10
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