Is the statuses/build API available from Bitbucket Server or Bitbucket Data Center

Is the statuses/build API supported on Bitbucket Server or Bitbucket Data Center?

1 answer

1 accepted

1 vote

An equivalent API is available for both Bitbucket Server and Bitbucket Data Center https://developer.atlassian.com/static/rest/bitbucket-server/4.4.1/bitbucket-build-rest.html

Thanks for the very quick reply. I have a follow up question. I see the equivalent Server API doesn't have a spot for a particular repo or team, does this mean that this status will be applied to any any commit on the server with that hash regardless of it's location?

Yes, that is correct. If you have a specific usecase where this would be inappropriate I would love to hear more about it.

No don't I have a use case for it, other than potentially running two build systems on different forks (potentially one of the build systems would be under test). However, I think can be accomplished by having different keys in the POST.  The only issue would be cluttering up a production repo with status updates from a non production build system. I don't think this is a real issue. Thanks again for your help.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 06, 2018 in Bitbucket

Do you use Bitbucket Cloud and Jira Cloud? If so, let us know!

Hi Community, I'm Julia and I'm on the Jira Software Cloud marketing team!  We're looking for companies or teams using Bitbucket Cloud and Jira Software Cloud. If your team fits the t...

174 views 6 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