Skip to main content

GH CLI

Transfer Issues between repositories

From local repository directory:

gh issue list -s all -L 500 --json number --jq '.[].number' | \
xargs -I % gh issue transfer % <target-repository>
  • s: Issue State.
  • L: Limit response records.
  • --json: JSON format response object.
  • number: Retrieve number field.