Skip to main content

How to Link and Issue no with a PR ❓

Things to keep in 🧠

You can link up to ten issues to each pull request.

The issue and pull request must be in the same repository.

Linking an issue with a PR 🔗

  1. Open the PR in which you want to link the issue. ( Note: If you are a contributor you can only link an issue to your PR. Only maintainers can do with any PR.)
  2. In the right sidebar, in the "Development" section click ⚙️.
  1. Click the issue you want to link to the pull request.
  1. Wow, you successfully linked the issue with the pull request! 🎉

Observations 🔍

-> Issue is linked to the pull request shows as Open 🟢.

-> Successfully merging this pull request may close this issue. ✔️

-> Issue number shows in the pull request commit with #[issue-number].

Results ✅

-> Now Merging the pull request will automatically close the linked issue. (Requires a refresh sometime to reflect changes)

Important Notes 🚨

-> Linking an issue can also be done while creating pull request by tag the issue number #17.

-> Linking process can also be done from issue page. Just click the "Development" section and click the Pull request you want to link to issue.

-> Closing the linked issue will not close the pull request.

Hurrah! Today you step close to your success 🥳 🥳!!!!