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

pull request closing references #1128

Open
staabm opened this issue Dec 2, 2023 · 1 comment
Open

pull request closing references #1128

staabm opened this issue Dec 2, 2023 · 1 comment

Comments

@staabm
Copy link
Contributor

staabm commented Dec 2, 2023

I wonder whether there is a supported way to parse/retrieve references to issues/pull requests from pull request body descriptions like github.com supports using e.g. closes #123

all official keywords are described on https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests

I would love to either parse the pr body description or call a api endpoint to get a list of referenced issues from a given PR

@staabm
Copy link
Contributor Author

staabm commented Dec 2, 2023

I should add, that I tried using the graphql closingIssuesReferences but it seems to not always report references for the mentioned case. it seems to only work sometimes.

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