Skip to content

Selecting assignees interactively when submitting a pull request #5866

Description

@byohay

Describe the feature or problem you’d like to solve

I want to avoid memorizing assignees' login names, therefore I'd like to be able to select assignees interactively when opening a pull request.

Currently, I can get close to what I'm looking for by invoking gh pr create... && gh pr edit. However pr edit asks which fields of the PR you'd like to edit, which is redundant in this case as I only want to add assignees.

Proposed solution

I suggest to either:

  1. Add a flag to pr edit that allows one to select which fields they'd like to edit interactively. e.g. gh pr edit --interactively assignees
  2. Add a flag to pr create that allows you to add assignees interactively after opening a PR.

I like the first solution better because it doesn't depend on a PR being created.

Activity

  1. mislav commented on Jul 11, 2022

    @mislav
    Contributor

    Hi, are you able to select assignees interactively when running gh pr create in interactive mode and choosing to "add metadata"?

  2. added
    more-info-neededMore info needed from user/contributor
    and removed on Jul 11, 2022
  3. byohay commented on Jul 13, 2022

    @byohay
    Author

    I forgot to mention I'm using gh pr create --fill to create the PR. So it does work when choosing "add metadata" in interactive mode, but I'd still like to use gh pr create --fill, and be able to choose the assignees interactively.

  4. added
    coreThis issue is not accepting PRs from outside contributors
    and removed
    more-info-neededMore info needed from user/contributor
    on Jun 23, 2023
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

    coreThis issue is not accepting PRs from outside contributorsenhancementa request to improve CLIgh-prrelating to the gh pr command

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions