Current Issues report download from Bitbucket?


I'd like to be able to download the Current open issues page into something that doesn't need constant massaging. Is it possible to download this as data?



3 answers

1 accepted

Hi Bret,

Sure thing! Bitbucket has a full REST API. You want the issues resource. Here's an example URI that pulls all of the new issues from the stash-archive repository under the atlassian account:

You might find the Bitbucket REST API browser useful to experiment with Bitbucket's REST API.



Though looking at this a bit harder and figuring out how to get my issues list down - the data structure is pretty hard to figure out - can you tell me where the data definition is?

Also how to show all status is new or open ? I can request status=new and status=open, but not both ..

Hi again Bret,

There's some more information on the data structures used in the issues response here:

If you want to query for multiple statuses, you can just append multiple query parameters, i.e. ?status=new&status=open

For example, here's the same URL from my previous example with both new and open issues being returned:



Thanks Tim, that worked well...

Well I guess thats an answer, but to do anything with this data I need to write code to get it to a state I can build a report with it, as opposed to copy and paste from the web page into excel with some massaging...

For the moment I think I'll stick with the copy paste method.

Ah, I see. You could try an online service such as write a script to download and convert it?

well that works if I copy paste into that site and would probably be worth it if I had a ton of issues I was tracking.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

28,772 views 26 12
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