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!

2 answers

This widget could not be displayed.

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!

This widget could not be displayed.

Hi Ana,

I am having the same issue.

I am using JIRA server instead of cloud.

 

I am pretty sure I am the admin in my JIRA instance and the owner of my GitHub repo.

Thanks!

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

169 views 2 0
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