33.29 Git Project Add Issue

20241028

Within the repo locally list all the issues:

gh issue list
gh issue list --json number -q '.[].number'

List the projects:

gh project list

Add issue to project 1 of user kayon (default is backlog):

gh project item-add 1 --owner kayon --url https://github.com/kayon/mumod/issues/42

Add all issues to the project:

for issue in $(gh issue list --json number -q '.[].number'); do
    gh project item-add 1 --owner mlhubber --url https://github.com/mlhubber/mlmodels/issues/$issue
done

You may need a mixture of the following too for authentication, but you’ll be prompted as required.

gh auth login
gh auth refresh -s read:project
gh auth refresh -s project


Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0