Below API is available for Bitbucket Server and is not present in Bitbucket cloud.
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.
PATH PARAMETERSprojectKey REQUIRED
The project keypullRequestId REQUIRED
The pull request idrepositorySlug 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.
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: https://jira.atlassian.com/browse/BCLOUD-20183
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.