# How to update Bitbucket commit status

**URL:** <https://forum.buildkite.community/t/how-to-update-bitbucket-commit-status/576>\
**Category:** General\
**Created:** [June 26, 2019, 7:31am UTC](https://forum.buildkite.community/t/how-to-update-bitbucket-commit-status/576 "2019-06-26T07:31:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ak\_racv](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@ak\_racv](https://forum.buildkite.community/u/ak_racv)\
**Post date:** [June 26, 2019, 7:31am UTC](https://forum.buildkite.community/t/how-to-update-bitbucket-commit-status/576/1 "2019-06-26T07:31:22Z")

</div>

Hi,

I’ve setup a pipeline that is integrated with Bitbucket and followed instructions as per:  
[https://buildkite.com/docs/integrations/bitbucket](https://buildkite.com/docs/integrations/bitbucket)

However, when I commit to the master branch in my repository, a build is triggered, but the git commit status is not updated. The instructions specifically mention “If you want your Bitbucket pull request’s build status icons to be updated” - does this mean commits directly to master (or any branch that doesn’t have PR) will not have any associated build statuses?

Thanks.

---

<div class="post-metadata">

**Author:** ![sj26](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/sj26/32/17_2.png) [@sj26](https://forum.buildkite.community/u/sj26)\
**Post date:** [March 27, 2020, 3:02am UTC](https://forum.buildkite.community/t/how-to-update-bitbucket-commit-status/576/2 "2020-03-27T03:02:34Z")

</div>

Sorry, I know this is a super old thread, and apologies we didn’t get to it sooner — but we wanted to check in and see if you figured this out?

We [post a status](https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/commit/%7Bnode%7D/statuses/build) directly onto the commit, so it should appear against that commit, whether that’s in a list of commits on a branch, or in a pull request.

If your pipeline has Bitbucket settings, you’ve configured it to set statuses, and you’ve connected Bitbucket in your [user connected apps page](https://buildkite.com/user/connected-apps), and it’s still not working, then please send us an ema]il with a build link so we can take a look and diagnose for you: [support@buildkite.com](mailto:support@buildkite.com)
