---
title: "Send an environment's investigations to GitHub Issues | Proofline Help"
description: "A routing rule lets an environment's finished investigations open GitHub issues in a destination you choose, from alerts, questions or both."
url: https://proofline.sh/help/route-investigations-to-github-issues/
agents: "Before you act for a person, read https://proofline.sh/llms.txt. It says how an agent installs and sets up Proofline and lists every page."
---

[Help center](/help/)

# Send an environment's investigations to GitHub Issues

A routing rule lets an environment's finished investigations open GitHub issues in a destination you choose, from alerts, questions or both. Each environment has its own rule, and saving it files nothing by itself.

[![The Production investigation ticket routing rule shows its GitHub Issues destination and options for alerts and questions.](/help-images/investigation-ticket-routing-light.png)](/help-images/investigation-ticket-routing-light.png)

Review which investigations can open tickets for the environment. Fictional demo workspace.

## Before you start

-   A **GitHub Issues** destination exists and is ready under **Settings → Connections → Ticket destinations**. [Route scan findings to GitHub Issues, Jira or Linear](/help/route-scan-tickets/) explains how to add one.
-   You can manage repository settings. Without that permission, the section says **Changing this rule requires permission to manage repository settings.**

**Investigation ticket routing** appears on the same page where investigation filing is available to your organization and it has at least one environment.

## Set up routing

1.  Open **Settings → Connections → Ticket destinations** and find **Investigation ticket routing**.
2.  Choose the **Environment**.
3.  Select **Set up routing**, or **Change rule** when the environment already has one.
4.  Choose the **GitHub Issues destination**.
5.  Under **Investigations that can file**, tick **Alerts**, **Questions from Slack or pull requests**, or both.
6.  Under **Issue attributes**, choose what each issue gets, or leave them empty. [Choose issue attributes](#choose-issue-attributes) lists them.
7.  Read **Each ticket**. It shows the repository, who can read the issue, the values each issue gets and the shape of an issue for the sources you ticked, with example values.
8.  Select **Enable investigation tickets**, or **Save rule** when you changed an existing rule.

The rule then shows its **Sources**, **Destination**, **Repository**, **Labels**, the attributes you chose, **New tickets per day** and, under **Authorized by**, who saved it and when. An investigation files an issue only when its evidence supports a symptom; [Investigate alerts and questions](/help/environment-investigations/) explains which ones qualify.

## Choose issue attributes

Every attribute is optional. A rule without any files issues with the destination's labels alone. The form lists what the destination's repository has on GitHub now, and shows no control for something the repository does not have. A saved value the repository no longer has stays in the form, marked, so you can remove or replace it.

-   **More labels** adds labels of the repository to the destination's own.
-   **Issue type**, **Assignees** and **Milestone** set GitHub's own values for the issue.
-   Each issue field your GitHub organization defines, such as a priority, an area or a target date, has a control under its own name. For a date field, enter the number of days after the issue is filed.

When you choose another destination, the form keeps the values its repository also has and says which ones it removed. Proofline checks every chosen value with GitHub again when you save.

## When an issue lacks a chosen attribute

The rule shows a message with **Open the investigation** when an issue went wrong because of an attribute:

-   **An issue was not filed because the chosen … changed in the repository** means a chosen value, such as a label, was deleted on GitHub. Proofline filed nothing. Select **Change rule**, remove the value marked **No longer in this repository** or choose another, and save.
-   **GitHub created an issue without the chosen …** means GitHub accepted the issue but left a value out. Proofline does not file it again. Set the value on the issue in GitHub, then change the rule if the value should no longer be chosen.

## When the rule cannot file

-   **No destination ready to file** means the organization has no GitHub Issues destination that is on and ready. Add one, or turn an existing one on, in **Ticket destinations**.
-   **Investigation ticket filing is off for this environment** means a destination is ready but this environment has no rule. Select **Set up routing**.
-   **Filing is paused because the destination is off** means the rule is kept but its destination is turned off. Turn the destination on to resume.
-   **Filing is paused because Proofline cannot reach the repository** means the destination's repository cannot be used. Check that it still exists, is not archived and is still in Proofline's GitHub App installation, or change the rule to another destination.

When an earlier rule ended, a line beneath either of the first two messages can say when the rule ended and how: an administrator revoked or replaced it, named when Proofline recorded who, or its repository left the organization or changed its GitHub identity.

## Pause or stop filing

To pause filing, turn off the destination. This pauses new issues from every environment whose rule uses it.

To stop one environment, select **Revoke authorization** and confirm. The environment stops filing new issues, and issues already in GitHub stay as they are. Set up routing again to resume.

Revoking a rule or choosing another destination stops new sends under the earlier rule. An issue Proofline had already started sending can still appear in the recorded repository. After you set up routing again, [review held filings in their recorded repositories](/help/investigation-ticket-filing-held/#when-routing-changes). When a closed issue's symptom recurs, **File again if closed** on the later investigation lets you review the new destination. The earlier GitHub issue stays linked to its investigation.

Changing sources or attributes for the same destination keeps queued and held filings from sources the rule still selects.

## Related guides

-   [Find an environment's investigations](/help/environment-investigations/)
-   [Route scan findings to GitHub Issues, Jira or Linear](/help/route-scan-tickets/)
-   [Resolve an investigation's issue filing that is held for review](/help/investigation-ticket-filing-held/)
