Support easy marking/unmarking of duplicate issues with new API's #317
Labels
enhancement
An issue or pull request introducing new functionality to the project.
help wanted
Anyone in the community is welcome to do this work
up for grabs
Anyone in the community is welcome to do this work
Feature Idea Summary
GitHub allows you to mark an issue as a duplicate of another issue (as well as marking a pull request as a duplicate of another pull request) by adding the special phrase of
Duplicate of #<num>
. You can undo that marking of duplication by clicking "undo" on the timeline entry for that duplication notification.We can ease this process for this module's users by exposing an API that automatically adds that Issue/PR comment directly to the item.
Feature Idea Additional Details
Initial thoughts on API structure:
In theory,
Get-GitHubEvent
should give us the ability to find the duplicate event for the "undo" scenario, but this still needs to be tested/verified. We also need to see what command that "Undo" button is actually sending, as I'm not seeing anything in the documentation about how to handle an undo.Requested Assignment
I'm just suggesting this idea, but don't want to implement it.
Operating System
PowerShell Version
Module Version
The text was updated successfully, but these errors were encountered: