Bulk Transfer Github Issues from Repository A to Repository B

Published: 05 November 2023
on channel: devin schumacher
156
1

How to Bulk Transfer Github Issues from Repository A to Repository B
---
SEO & Digital Marketing Resources:
SEO & Digital Marketing Insider Info: @

Artificial Intelligence Tools & Resources:
Artificial Intelligence Insider Info: @

‍‍‍ Join the Community:

-
Here’s a simple command you can run in your terminal to transfer all the issues from one Github repository to another!

Pre-requisites:

1. Make sure you have Github CLI installed:
2. Make sure you are “authenticated” through Github CLI
3. Make sure that the repository you’re transferring from & to have the same labels, fields, etc.

NOTE: I didn't actually test step above... maybe it's not a problem.

Just test it first if you're worried and LMK in the comments if it matters!

...

Now you’re ready to run to bulk transfer your issues!

1. Open your terminal & run the command below:


\
jq -r '.[] | .number' | \
while read issue; do
gh issue transfer "$issue" devinschumacher/repository-b -R devinschumacher/repository-a
sleep 2
done


----

The code:

Full article:


Watch video Bulk Transfer Github Issues from Repository A to Repository B online without registration, duration 02 minute 39 second in high hd quality. This video was added by user devin schumacher 05 November 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 156 once and liked it 1 people.