Skip to content

doing pr list

List pull requests related to the project.

doing pr list [flags]

Example usage

doing pr list
doing pr list -assignee "John.Doe@company.com"
doing pr list -a "John.Doe@company.com"
doing list -a @me
doing list --label "some_tag"
doing list --label "some_tag, another tag"
doing list --state all
doing list --state merged
doing list -a @me -s all -l a_tag
doing list --web -s merged

PR Statuses

For consistency with GitHub CLI's gh pr list, we use {open|closed|merged|all} for PR status and internally translate to devops's {active|abandoned|completed|all}. This is useful for developers working cross-platform.

Options

Usage: doing pr list [OPTIONS]

  List pull requests related to the project.

Options:
  -a, --assignee TEXT             Filter by assigned reviewers (email
                                  address).  [env var: DOING_PR_LIST_ASSIGNEE]
  -l, --label TEXT                Filter by labels (tag). Comma separate
                                  multiple tags.  [env var:
                                  DOING_PR_LIST_LABEL]
  -L, --limit INTEGER             Maximum number of items to fetch (default
                                  30)  [env var: DOING_PR_LIST_LIMIT]
  -s, --state [open|closed|merged|all]
                                  Filter by state. Defaults to 'open'  [env
                                  var: DOING_PR_LIST_STATE]
  -w, --web / --no-web            Open overview of issues in the web browser.
                                  [env var: DOING_PR_LIST_WEB]
  --help                          Show this message and exit.