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

1 vote
Accepted answer

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.

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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,101 views 4 9
Read article

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