Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Rest API for getting list of jira issues present in PR on Bitbucket cloud


Below API is available for Bitbucket Server and is not present in Bitbucket cloud.

GET /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/issues

Retrieves Jira issue keys that are associated with the commits in the specified pull request. The number of commits checked for issues is limited to a default of 100.


projectKey REQUIRED


The project key

pullRequestId REQUIRED


The pull request id

repositorySlug REQUIRED


The repository slug

We wanted the similar information about the Jira issues present in the raised pull request.

There isn't anything on this in the documentation, but let me know if it's already there or something related to it.

1 answer

0 votes

Hi Arun,

I'm afraid that we don't have an API endpoint to get Jira issues associated with a PR. You can find those issues on the website only at the moment while viewing a certain PR, on the right-hand panel titled Details.

We have a feature request to provide such an API endpoint:

The request has been closed due to inactivity, but I would suggest leaving a comment there and adding your vote (by selecting the Vote for this issue link), as our product managers continue to monitor even closed requests.

Kind regards,

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events