How to Create GitHub Issues from Slack

0 Comments
Editor Ratings:
User Ratings:
[Total: 0   Average: 0/5]




This tutorial talks about how to create GitHub issues from Slack. There is no default option either in Slack or GitHub which allows you to do the same. But, there is actually a simple method using which you can now create Github issues from Slack. You will be able to easily create an issue on Slack and then it will be added to any of your repositories which you select on GitHub automatically.

This can be done using a free Slack app named “Bugbot”. It lets you run a simple slash command on Slack to create GitHub issues. Remember, it can only create Github issues from Slack, which means you have to manually add all the other aspects like milestones, labels, and assignees on GitHub. Apart from creating issues, you can also use this Slack app to view your open GitHub issues.

create github issues from slack

There is another useful web app called “Fire” which also allows you to easily create GitHub issues by sending emails. This can come in handy if you’re not using Slack and want to quickly create a GitHub issue.

How to Create GitHub Issues from Slack:

Step 1: To get started, the first thing you would need to do is integrate “Bugbot” with your Slack account. To do this, simply head over to the homepage of “Bugbot” and then click on the “Add to Slack” button. After that, you can simply invite “Bugbot” to any of your Slack channels and complete the integration.

Step 2: Now, you can open up the Slack channel to which you have invited Bugbot and then type the command “/bugbot repos” in the message field and hit Enter. This will open up the option for authorizing this Slack app with GitHub.

Step 3: Once you’re done with that, simply type and run the command “/bugbot repos” again to see all your GitHub repositories. Now, it will ask you to select a repository on which you would like to create issues from Slack. For this, you have to enter the command “/bugbot repo [org/reponame]” in the message field and run it. The “org/reponame” will be your GitHub username/repository name. As an example, you can see the below screenshot.

Step 4: As soon as you’re done selecting a repository, you can go ahead and start using Bugbot to create GitHub issues. To create a GitHub issue from Slack, you would need to type “/bugbot add [name of the issue]” in the input field and then press the Enter key. Once you do that, it will automatically create a new GitHub issue on the repository selected by you. In the same manner, you can create as many GitHub issues as you want directly from Slack.

Apart from letting you create GitHub issues from Slack, the “Bugbot” Slack app also allows you to run other commands to perform various actions as follows:

  • /bugbot issues: Use this command to see all your open GitHub issues on Slack.
  • /bugbot repo org/reponame: It can also be used to change target repository.
  • /bugbot help: Get help related to commands.
  • /bugbot whoami: See the connected GitHub user.

Closing Words:

Bugbot is a very useful Slack app which assists you to easily create GitHub issues from Slack. That means you don’t have to switch out of Slack to create GitHub issues anymore. Personally, I like Bugbot as apart from allowing you to create GitHub issues, it also lets you see all your open GitHub issues. So, go ahead and give this Slack app a try.

Integrate “Bugbot” from here.

Editor Ratings:
User Ratings:
[Total: 0   Average: 0/5]
Free/Paid: Free