Close GitHub issues from Teams with confirmation

Developer Tool

What it does

When someone runs the close_github_issue command in Teams, this automation closes that issue in GitHub. It posts a reply in Teams so the channel knows the issue was closed.

Who it's for

Engineering teams who need to close GitHub issues from Teams without switching to GitHub.

How teams use this

Close issues without leaving Teams

Run the close_github_issue command from a Teams channel to close a GitHub issue and get confirmation in the thread. The team stays in Teams and does not need to open GitHub.

Let operations close issues from Teams

Invite the bot to an operations channel so the team can close GitHub issues as part of their workflow. The automation works the same way in a different team context.

Add a comment when closing an issue

Include a comment prompt in the command so someone can add a note to the GitHub issue when it closes. The automation posts that comment to GitHub along with the closure.

Filter issues by label before closing

Set up a condition to only close issues with a specific label so the team can manage which issues this automation handles. The command stays the same and only processes matching issues.

How it works

  1. Run the close issue command. Type the close_github_issue command in Teams with the organization name, repository name, and issue number.
  2. Close the issue in GitHub. Close the GitHub issue using the organization name, repository name, and issue number provided in the Teams command.
  3. Confirm the closure in Teams. Post a reply in the same Teams conversation with the issue details so the channel knows the GitHub issue was closed.