Software factory / Issues
Close duplicate issues with triage
Half of your new issues are duplicates, some are fixed already, and some do not say enough. You want an agent to find them and close them for you.
2 min read
The Triage agent finds duplicates, issues that are fixed already, and unclear issues. When you turn it on, it only comments, until you set its mode to Act. You need admin access to the repository.
1. Turn on Triage
- Open Agents. In the sidebar, click Agents under Software factory.
- Turn on the switch of Triage. It saves at once.
2. Set the mode to Act
- Click Settings next to the switch, and set Mode to Act.
- Click Save Triage.
Done
Triage now acts on each new issue. It closes duplicates and fixed issues, and asks authors for what is missing.
What triage does on each issue
| Verdict | The panel shows | In the mode Act | In the mode Suggest |
|---|---|---|---|
duplicate | Triage: Duplicate | Comments with the link to the original, and closes the issue as a duplicate. | Comments with the link. |
fixed | Triage: Already fixed | Comments with the link to the fix, and closes the issue as completed. | Comments with the link. |
unclear | Triage: Needs more information | Asks the author one question, and adds the label needs-info. | Asks the author one question. |
ok | Triage: Ready for work | Does nothing. | Does nothing. |
Issues that need more information
In the mode Act, an issue with needs-info closes after 7 days when its author does not comment. The bot closes it as not planned, with a comment that says why.
Change the number of days with Days to wait on needs-info in the rules for all agents.