Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Running CLI for BitBucket cloud



I am trying to get the list of commits I have in my repositories for a given time period.

I am stuck trying to connect and run basic test running any command on CLI, suspect it might be connection. 

Am getting this error:

Client error: Invalid request: Server redirected too many times (20)

I downloaded Atlasian CLI version 19.1.1-distribution.

This is the command I am trying to run on windows:

acli.bat bitbucket -s  --user MyEmail --token MyToken 
-a getProjectList


any idea?

Thanks in Advance!

2 answers

0 votes

Hello @Sharon BenDavid ,

Welcome to the Community.

I'm not familiar with Atlassian CLI, but by the look of the arguments it is supposed to work with Bitbucket Server, not Bitbucket Cloud. Can you check that?

Also, could you post a link to the tool?


Thanks Dniil,


I am using this:


as far as I understand it is for cloud.

Hi @Sharon BenDavid  - It looks like you are using a Bitbucket Server CLI command on a Bitbucket Cloud instance.  At the moment getProjectLIst is not available in Bitbucket Cloud CLI because of the significant differences in the APIs between Cloud and Server versions of Bitbucket.  We make updates to all of our CLI products frequently so keep an eye on the Bitbucket Cloud CLI for new releases!

If you need more detailed support, you can submit a ticket here.

FYI: I'm the product manager for Bob Swift CLI products.

Like Daniil Penkin likes this

Thank you Michael.

Where can I find the list of commands for BitBucket Cloud CLI? It is very unclear in the site.


Appreciate your help!


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Bitbucket

How do you use the Bitbucket-Jira integration? How does it help your team?

Hey everyone, over the past year, we've added several new features on how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your t...

128 views 0 2
Join discussion

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