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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

HI,

 

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: java.net.ProtocolException: 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 https://bitbucket.org  --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?

Cheers,
Daniil

Thanks Dniil,

 

I am using this:

https://bobswift.atlassian.net/wiki/spaces/BCCLI/overview?homepageId=266182165

 

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!

Sharon

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

2,124 views 0 7
Read article

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