Skip to content

Instantly share code, notes, and snippets.

View jstlaurent's full-sized avatar

Julien St-Laurent jstlaurent

View GitHub Profile
@jstlaurent
jstlaurent / move_gh_project_items.fish
Last active September 19, 2023 16:05
Fish shell script to move issues between GitHub projects
set source_owner "<source_owner_name>"
set source_project "<source_project_number>"
set destination_owner "<destination_owner_name>"
set destination_project "<destination_project_number>"
set destination_project_id (gh project view --format=json --owner=$destination_owner $destination_project | jq -r '.id')
# Fetch all source_items from the source project
set source_items (gh project item-list --limit=1000 --format=json --owner=$source_owner $source_project | jq -c '.items[]')

Keybase proof

I hereby claim:

  • I am jstlaurent on github.
  • I am jstl (https://keybase.io/jstl) on keybase.
  • I have a public key whose fingerprint is D2A1 97AC 9282 2C36 9B08 1E71 CE69 7322 2116 BB27

To claim this, I am signing this object: