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

Link Bitbucket Cloud to JIRA Server

Tierney White
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 20, 2022

I am trying to link Jira server 8.5.2 to Bitbucket cloud.

I have followed all instructions, creating the OAuth consumer in Bitbucket and then using the key and secret to link from Jira using a DVCS account but I get the following error:

    Invalid OAuth credentials. Check Jira log for more information.

The key and secret are correct but it does not connect. 

Is it possible the version or Jira is too old (8.5.2)?

Which Jira log should I be checking for further information?

1 answer

1 accepted

1 vote
Answer accepted
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 20, 2022

Hey Tierney,

Firstly, please try the following steps to recreate the connection and try again:

  • Tick the Private Consumer checkbox in Bitbucket.
  • Recreate the OAuth token in Bitbucket Cloud.
  • Re-enter the OAuth credentials in the Jira application.

If this does not work - can you make sure you have whitelisted Bitbucket Cloud IPs to make sure the connection is not being dropped before reaching Bitbucket? 
https://confluence.atlassian.com/bitbucket/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall-343343385.html

Can you also check your network firewall to see if any connection is being dropped from Jira when Jira makes the API call to Bitbucket for Incoming / Outgoing?

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)

Tierney White
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 25, 2022

Thanks @Ben

Setting private consumer solved the problem.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events