Skip to content
Source
Sign inSign up

Close duplicate issues

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

  1. Open Agents. In the sidebar, click Agents under Software factory.
  2. Turn on the switch of Triage. It saves at once.

2. Set the mode to Act

  1. Click Settings next to the switch, and set Mode to Act.
  2. 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

VerdictThe panel showsIn the mode ActIn the mode Suggest
duplicateTriage: DuplicateComments with the link to the original, and closes the issue as a duplicate.Comments with the link.
fixedTriage: Already fixedComments with the link to the fix, and closes the issue as completed.Comments with the link.
unclearTriage: Needs more informationAsks the author one question, and adds the label needs-info.Asks the author one question.
okTriage: Ready for workDoes 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.