Skip to content

Ability to edit title/body/metadata of already open issue #904

Closed

Description

@johnandersen777

Describe the feature or problem you’d like to solve

It would be helpful to have another command under the issue commands to edit the description on an already open issue

Proposed solution

$ gh issue edit 621
... editor opens, contains issue body, on quit upload new issue body ...

Activity

  1. added
    enhancement
    on May 11, 2020
  2. danshearer commented on Jul 10, 2020

    @danshearer
    Contributor

    I propose gh adopts the Principle of Least Surprise, as used in RFCs.

    In this case, since gh is solving an identical edit-before-uploading problem to git, and since git will be used by virtually all gh users, I propose that gh use the git system.

    If you look at the docs for git-commit: https://git-scm.com/docs/git-commit/2.10.5 then the interface elements are clear, including:

    -t / --template=
    -m
    -F

    $GIT_EDITOR (or core.editor, $VISUAL or $EDITOR, see https://git-scm.com/docs/git-var )

  3. GMNGeoffrey commented on Jul 10, 2020

    @GMNGeoffrey

    It would be nice to also have this support the other options for issue/pr creation (label, assignee, etc.)

  4. added
    core
    on Oct 7, 2020
  5. changed the title [-]issue: edit: Add ability to edit issue description[/-] [+]Ability to edit title/body/metadata of already open issue[/+] on Jan 26, 2021
  6. billygriffin commented on Jan 26, 2021

    @billygriffin
    Contributor

    I'm adding this to our backlog, and want to expand it to include editing title, body, and metadata (the same metadata available in gh issue create).

  7. self-assigned this
    on Jan 26, 2021
  8. prince-mishra commented on Jan 28, 2021

    @prince-mishra

    Thank you @billygriffin for adding this to TODO.
    Please can we also ensure that we are allowed to update the description even after the issue is closed.
    Thank you.

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

Metadata

Metadata

Assignees

Labels

coreenhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions