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

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!

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
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

74 views 0 3
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