title: How to get build status of PR using BitBucket API?
body: <p>Not getting Build job details/status of the PR when using Bitbucket API for any pull request</p>
  
  <p>Here is my API URL: </p>
  
  <pre><code>https://example.com/rest/api/1.0/projects/{projectkey}/repos/{reposlug}/pull-requests/{pullrequestID}
  </code></pre>
  
  <p>How Build status looks like on GUI: </p>
  
  <p><a href="https://i.stack.imgur.com/Y0k3N.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Y0k3N.png" alt="enter image description here"></a></p>
  
  <p>I also tried below methods to get the Build status but no luck</p>
  
  <pre><code>/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/settings/pull-requests
  /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/settings/hooks
  </code></pre>
  
  <p>So I wanted to get whether build status of any PR whether it is Success or Fail</p>
  
  <p>Thanks in Advance for your answers.</p>