March 30, 2025

ikayaniaamirshahzad@gmail.com

GitHub Issue Importer – DEV Community


Did you know that GitHub does not offer a way to import multiple issues at once? I came across this problem whilst laying out my plans for a new project. I had created a number of tasks and I wanted to add these tasks as issues to my project in GitHub. Faced with the daunting task of manually adding all of these tasks as issues, I decided to peruse the web for an easy solution but came up empty handed. Since I had some free time, I decided to try developing a tool that will do all of this for me.

If you would like to import a number of issues in one go, all you need to do is create a CSV file with the issues in the following format:

title,body,labels
"Issue Title","Issue Description","Labels"
Enter fullscreen mode

Exit fullscreen mode

This is what such a file might look like:

title,body,labels
"Add dark mode","Implement dark mode toggle","feature,UI"
Enter fullscreen mode

Exit fullscreen mode

If you don’t already have one, next you need to create a personal access token on GitHub. This can be done by accessing the developer settings in your GitHub profile.

Finally, clone the repo and follow the instructions.

Hopefully this will save you time if you ever wish to import multiple tasks automatically.



Source link

Leave a Comment