Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support getting PR linked JIRA issues #86

Open
hrak opened this issue Aug 23, 2024 · 0 comments
Open

feat: Support getting PR linked JIRA issues #86

hrak opened this issue Aug 23, 2024 · 0 comments

Comments

@hrak
Copy link

hrak commented Aug 23, 2024

When Bitbucket is configured with JIRA integration, the issues linked to a PR (either by mentioning in commit msgs, branch name or PR title/description) can be retrieved from the following endpoint:

/rest/jira/1.0/projects/<project slug>/repos/<repo slug>/pull-requests/<PR ID>/issues

The response looks like this:

[{"key":"CC-711","url":"https://jira.example.com/browse/CC-711"}]

It would be great if this library supported this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant