Detach Issues from Pull Requests
Last updated
Was this helpful?
Last updated
Was this helpful?
In GitHub, issues and pull requests may automatically link when specific keywords (e.g., "close
", "fixes
") are used in pull request descriptions or comments. This guide explains how to detach an issue from a pull request.
Navigate to the Pull Request - Click on the Pull Requests tab and locate the pull request linked to the issue.
Remove the Linking Keyword - Open the pull request description or comments where the link to the issue is mentioned. - Look for keywords like close #issue_number
, fixes #issue_number
, or resolves #issue_number
. - Remove these keywords or replace them with plain text (e.g., related to #issue_number
).
Verify the Detachment - Navigate to the issue that was previously linked. - Confirm that the issue is no longer listed under the Linked pull requests section.
Bounty Tracking: Lightning Bounties tracks issue and PR status via GitHub integration. Unlinking an issue from a PR may affect bounty eligibility or payout triggers if the bounty is configured to require a linked/closed issue.
Double-check PR descriptions for linking keywords before submitting.
For merged PRs, note that links are part of the permanent record; only open PRs can be edited to change links.
Update the Pull Request Description - After editing the description or comments, click the Save or Update Comment button to confirm your changes.
Workflow: Always coordinate with your team and check Lightning Bounties if you're unsure how unlinking affects bounty status.
Permissions: Lightning Bounties only has to your repository and cannot modify links on your behalf.
if unlinking may impact bounty rewards.
For more details, refer to GitHub’s official on managing issues and pull requests.