Skip to content

Ability to edit PR metadata #2015

Closed
Closed

Description

@gbirke

Describe the feature or problem you’d like to solve

I'd like to edit title and description (like described in #1349), but also add reviewers after the fact and put a PR back into draft mode.

Proposed solution

Have a gh pr edit command that supports the --assignee, --body, --title, --label, --reviewer, --base flags, similar to gh pr create.

The --assignee, --label and --reviewer flags should be "overriding", replacing the existing values. There might be also --add-assignee, --add-label and --add-reviewer and --remove-assignee, --remove-label and --remove-reviewer flags to add and remove values.

Activity

  1. added
    enhancement
    on Sep 29, 2020
  2. changed the title [-]Ability to edit PRs[/-] [+]Ability to edit PR metadata[/+] on Sep 29, 2020
  3. added
    core
    on Sep 29, 2020
  4. vilmibm commented on Sep 29, 2020

    @vilmibm
    Contributor

    Marking as for the core team to take on since I suspect this will come with some internal refactoring.

  5. covertbert commented on Oct 19, 2020

    @covertbert

    This would be an amazing enhancement if implemented!

  6. mittalyashu commented on Oct 20, 2020

    @mittalyashu

    What about converting PR into draft?

  7. covertbert commented on Oct 20, 2020

    @covertbert

    @mittalyashu I think it would be nice to perform any PR action you would in the UI with the CLI.

  8. giacomoalbe commented on Jan 4, 2021

    @giacomoalbe
    Contributor

    I would love this feature! It would speed my workflow a lot!

    I'd also like to apply this to issue as well, since my workflow (and I think the vast majority of people's workflow) heavily relies on both issue and PRs,

    I'd like to propose myself for the implementation of this feature, WRT the GH part, of course.
    Is this something more related to the internal GH API or is it about putting together different API calls and present them with a nice interface?

  9. billygriffin commented on Jan 5, 2021

    @billygriffin
    Contributor

    Hi folks, I'm going to close this in favor of #1349 to help keep our work organized! This is upcoming on our roadmap though so we hope to get to it in the next couple months!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions