I added "Commit status publisher" build feature to Teamcity build configuration and I see successful builds on the "builds" tab in pullrequest.
However, if I set some required builds for pull requests, bitbucket shows issue that prevents merging PR "Successful build of {build id} for the latest commit is required before this pull request can be merged."
What build ID should I specify when integrating with Teamcity? I have set "Build configuration ID" option from the Teamcity.
I got the same build keys when running the command:
curl -u {user}:{pass} https://{bitbucket_server}/rest/build-status/1.0/commits/{commit_hash}