Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Connection between JIRA Server and BitBucket Cloud fails

it seems as of late, that the DVCS connection between our JIRA server and Bitbucket cloud is failing.

Nothing has changed on our servers or anything.

But going to the JIRA Admin > Applications > DVCS Accounts.  

It says "Sync Failed" under Last Activity, and nexrt to the Bitbucket Team name, it says Invalid Credentials, please reset OAuth settings.

I verified the OAuth Key and Secret, it hasn't changed.  But I try to regenerate access token, (the prompt says the Authorizing Account is invalid, please regenerate access token), and it gives this error:



Cannot proceed authentication, check OAuth credentials for account <Bitbucket team>


I tried creating a new OAuth Key/Secret, but still get the same error.  

I checked atlassian-jira.log


This is the latest entry:

2016-05-26 14:32:13,251 StreamsCompletionService::thread-2726 WARN <myfirstname.lastname>872x283200x1 1xsdnd8,0:0:0:0:0:0:0:1 /plugins/servlet/streams [c.a.j.p.d.s.b.clientlibrary.request.BaseRemoteRequestor] Failed to properly execute request [GET<my bitbucket username>],

There are a lot of entries similar of it trying to execute requests to the BB API.

Running a similar command:

wget -p<team>/framework/branches-tags -O /dev/null


results in:

401 UNAUTHORIZED  Username/Password Authentication Failed


2 answers


Its  authentication error so please provide correct Username and Password.

Username and Password to where?  There is no place to input a username and password

I have verified the Key and Secret in JIRA > DVCS Accounts > Reset OAuth Settings

The Secret and Key are correct from the corresponding BB Team OAuth Settings

I have tried deleting the Account from JIRA to re-add the account, yet, get this error:

The authentication with Bitbucket has failed. Please check your OAuth settings.

I check atlassian-jira.log, I see no error messages at all.

I encountered this same issue and was able to resolve it by editing the Consumer it Bitbucket to be a Private Consumer. This was not mentioned in the documentation I read at

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

227 views 7 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