JIRA & Bitbucket POST Hook sync

I have a Jira installation hosted on our company server. I want Jira to automatically update issues when a user commits to one of our Bitbucket repositories. I gather this should happen automatically if I have the DVCS connector plugin installed.

However, despite the documentation saying that the Bitbucket Service will be installed automatically, that doesn't appear to have happened. What is the format of the URL for the Bitbucket Service that will call the sync function on the Jira service please?

At the moment, the only time Jira updates is every 60 mins and I don't think simply changing this to poll more frequently is a sensible solution.

2 answers

1 accepted

This widget could not be displayed.

John, if you uncheck then recheck that repo under the "DVCS Accounts" link in Add-ons, it should re-establish the link for you. Just be sure the account has been linked with an account with permissions to do this, or auto-configured from OnDemand.

If that doesn't work, come over to JIRA or OnDemand support and we can give you a hand.

Hi Marcus, I'll give that a go shortly. However, please note that I don't use JIRA On Demand, we use the downloaded self-hosted version on our company server. There is nothing set up under Bitbucket Services at the moment. Many thanks, John

The self-hosted version should work exactly the same. The only trick is that you'll need to ensure that you've configured it properly. Also, ensure that you are running the latest version, if possible.

This widget could not be displayed.

Relinking it fixed the problem. The act of relinking caused two Hooks to be added in Bitbucket that were not there before (POST and Pull Request POST). There's no mention of the format of either of the 2 hooks in any of your documentation that I could find when reading about the DVCS Connector. I was trying combinations of these 2 Hooks, but I couldn't guess the repo_slug correctly so the Hooks weren't right. Possibly you could consider adding a brief paragraph to the docs?

Thanks for your help, much appreciated.

You really should accept Marcus's answer as an answer (you can select multiple answers here, unlike StackOverflow).

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...

143 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