Connecting JIRA Server to BitBucket Cloud: Sync Failed Edited

Hi all,

Sorry if this is a duplicated question, but I have tried to find the answer for quite some time but still no luck.

I'm trying to connect my BitBucket Cloud repositories to my JIRA Server.

In my BitBucket Cloud, I logged in as account myprivateaccount. This account is member of a team teamaccount and that team is the owner of a repository repositoryx.

Because teamaccount is the owner of that repository, so I had to go to myprivateaccount, selected BitBucket Settings, switched to teamaccount, and then added new OAuth Consumer.

Then, I added that OAuth Consumer to JIRA in DVCS Accounts screen. Connecting process went well, I can see teamaccount with repositoryx in DVCS Accounts screen, but its last activity is "Sync Failed: Read more".

I checked the "read more" link, but I'm sure that the repo has not been deleted, and both of my accounts on BitBucket and JIRA has not been disabled.

So, how can I successfully link my repo to my JIRA Server?

Thank you!

1 answer

0 votes

Hi Nguyễn! Are you an admin for the team account? This can be found in our documentation: 

You'll need to have admin permissions on both Jira Software Server and on the Bitbucket Cloud account you want to connect. 

Can you also confirm that you've followed correctly the steps at Connect Bitbucket Cloud to Jira Server applications.

Cheers!

Ana

Hi Ana!

 

I have the same issue as Nguyễn. I ensured that i own privileges in Bitbucket Cloud and Jira Server, could you help me?

 

Here are what logs are printing:

14-Feb-2018 19:22:33.776 WARNING [http-nio-8080-exec-17] com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters A servlet request, to the URI http://jira.blackdata.systems/rest/bitbucket/1.0/repository/110/sync, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.

 

Thanks!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,164 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot