Skip to content

v0.4.0

Choose a tag to compare

@avitsrimer avitsrimer released this 10 Aug 12:28
26c5b03

New Features

  • bb pullrequest list --author <id> and --mine — list pull requests across every repository of a workspace in a single request, replacing a shell loop over bb repo list. Author mode resolves no repository at all, so it works from any directory as long as the workspace resolves #76
  • new repository column on pull request listings: part of the default column set in author mode, and available everywhere through --columns repository and --sort repository #76

Improvements

  • the id and repository sort comparators now tie-break on each other, giving listings a total order. Pull request ids repeat across repositories, so --sort repository or --sort updated_on is the useful choice in author mode; the default remains +id #76

Note on author identifiers

--author accepts a username, a UUID in curly braces ('{...}' — quote it so the shell keeps the braces), or an Atlassian account ID. There is no me sentinel; use --mine for your own pull requests. Workspace member nicknames, shown in the Name column of bb workspace members, are not usernames and usually resolve to nothing — the ID column of that command carries the UUID this flag wants. An unresolvable identifier may come back as either a 404 or an empty listing, so an empty result is not proof the author has no matching pull requests.

Author mode is workspace-wide, so an explicitly passed --repository is rejected rather than silently ignored, and it is mutually exclusive with --commit. The endpoint also needs workspace-level access: a Repository Access Token that works for repository-scoped list returns 403 here.