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

issues can now be closed as duplicate #741

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jcreekmore
Copy link

Recently, GitHub added the ability to explicitly close an issue as a duplicate. When you close an issue as a duplicate, in addition to linking it to the issue and putting an event in the timeline, it also sets the the issue state reason to duplicate. I cannot find this behavior documented in the current GitHub API docs, but I have seen it in the wild on a few recent issues in the rust-analyzer repository.

Recently, GitHub added the ability to [explicitly close an issue as a
duplicate](https://github.blog/changelog/2024-12-12-github-issues-projects-close-issue-as-a-duplicate-rest-api-for-sub-issues-and-more/#close-an-issue-as-a-duplicate).
When you close an issue as a duplicate, in addition to linking it to the
issue and putting an event in the timeline, it _also_ sets the the issue
state reason to `duplicate`. I cannot find this behavior documented in
the current GitHub API docs, but I have seen it in the wild on a few
recent issues in the rust-analyzer repository.
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

Successfully merging this pull request may close these issues.

1 participant