Skip to main content
Turn an anomaly or a recommendation into a GitHub issue in one step. The issue carries the cost detail and a link back to CostGraph. The CostGraph page then shows Open #123 for that issue. Issues go through the CostGraph GitHub App, the same app that reads GitHub billing. GitHub issues work on self-hosted deployments too.

Before you begin

  • A CostGraph organization owner or admin to choose repositories.
  • An owner of the GitHub organization to approve the app’s Issues permission.

Approve the issues permission

The CostGraph GitHub App asks for permission to create issues. If your organization installed the app before it asked for this, GitHub shows a request to approve the updated permissions. An owner of the GitHub organization must approve it in GitHub. Until an owner approves, CostGraph asks for that approval instead of creating the issue.

Connect GitHub issues

1

Install the GitHub App

Connect GitHub with the CostGraph GitHub App if you have not already. Each GitHub organization the app is installed on appears under Your connections in Settings > Integrations.
2

Choose repositories

On the GitHub organization’s connection, click Settings. Select the repositories people may create issues in, then click Save. Only private repositories are listed, which keeps cost detail out of public issues.
To change the list later, click Settings on that connection again.

More than one GitHub organization

Install the CostGraph GitHub App on each organization. Each one is its own connection with its own repositories. Installing the app again on an organization that is already connected does not add a second connection.

Create an issue

  1. Open an anomaly or a recommendation.
  2. Click Create ticket.
  3. Under the GitHub organization, choose the repository for the issue. CostGraph creates it and shows Open #123.
Each anomaly or recommendation has at most one GitHub issue, even with several organizations connected. Once it has one, the page shows Open #123 instead of offering GitHub again.

Disconnect

GitHub issues stop when the CostGraph GitHub App is disconnected or uninstalled. Issues already created stay in GitHub.