You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Try to link PRs to issues mentioned in the PR title #3739
Users often mention issues in commits, which then end up as PR titles:
Ideally, we would link the PR and the issue in GitHub. GitHub will automatically do this in when the issue is mentioned in the PR description, but not in the title.
updatePullRequest doesn't let you set closingIssuesReferences. An alternative would be to automatically include the "fix #123" string in the description.
Since there is no GitHub API to link PRs and issues, I've taken the approach of adding the #123 in the PR description. This feels like a work around, and I'm not sure it's worth doing. Will decide in September.
Make a commit that has a reference to an issue number in the same repo in the first line of the commit (see the screenshot at the top of the issue for an example).
Using the extension, create a PR.
Verify that the issue reference get copied into the PR description.
Activity
alexr00 commentedon Jul 19, 2022
We might be able to use the
updatePullRequestGraphQL API mutation to set theclosingIssuesReferences.alexr00 commentedon Aug 15, 2022
updatePullRequestdoesn't let you setclosingIssuesReferences. An alternative would be to automatically include the "fix #123" string in the description.Try to link PRs to issues mentioned in the PR title
alexr00 commentedon Aug 22, 2022
Since there is no GitHub API to link PRs and issues, I've taken the approach of adding the #123 in the PR description. This feels like a work around, and I'm not sure it's worth doing. Will decide in September.
Try to link PRs to issues mentioned in the PR title (#3870)
alexr00 commentedon Sep 26, 2022
To verify: