Github-Support-Issues-Alert

Number of APIs: 5

A monitor to summarise GitHub activity of last day pertaining to issue sentry

github-support-issues-alert-screenshot

Every day, issues reported on GH needs the following: 1. Label 2. Assignee 3. Initial reply from Qodex team

This collection uses Github API to get support issues and sends a report to an internal Slack channel using a webhook.

Quickstart

To get started, update these environment variables.

Environment variables required

  • gh-api-token: Github API Token (with read:org scope)
  • slack-webhook: Slack Webhook URL

Get your GitHub API token.

github-token-screenshot

Set up your Slack incoming webhook.

slack-webhook-screenshot

Once you've updated these 2 environment variables, you're ready to run the collection.

The general workflow for the collection:

request workflow
  1. Init GET https://api.github.com

  2. get-Qodex-members GET https://api.github.com/orgs/postmanlabs/members

  3. send-slack-notification POST {{slack-webhook}}

  4. get-github-issues GET {{current-repo-url}}

  5. get-comments GET https://api.github.com/repos/{{organization}}/{{curent-repo-name}}/issues/{{current-issue-number}}/comments