This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

GitHub Bulk Issue Closer by Label

Developer Tools · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryDeveloper Tools
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

GitHub Bulk Issue Closer by Label lets you close multiple issues in a single operation, with the ability to filter by label and status. Instead of opening each issue individually, clicking the close button, adding a comment if needed, and confirming — repeating this for every single issue — this tool provides a unified checklist of all issues on the current page. You can filter issues by label or status (Open/Closed) to quickly find the ones you want to close. Select any number of issues using checkboxes, optionally add a comment that will be applied to all closed issues, and click Close. The tool then automatically processes each selected issue — opening the close action, adding your comment if provided, and confirming the close. This turns what could be dozens of manual operations into a single batch action, making issue backlog cleanup and project maintenance significantly faster and more efficient.

WHERE IT RUNS

This script runs exclusively on the GitHub web application in your browser. It activates on the repository issue list page. It requires the BotGentz extension to inject and execute the script. The tool does not work on the GitHub mobile app, the API, or any third-party GitHub clients — only the web-based GitHub interface accessed through a Chromium-based or Firefox browser. It specifically targets pages under *.github.com, including the standard GitHub repository issue list view.

HOW TO USE

After installing the script via BotGentz, navigate to any GitHub repository and open the Issues tab. The tool automatically detects the issue list and displays a floating panel on the right side. The panel shows all issues on the current page, with checkboxes next to each issue entry. Each issue displays its number, title, status, and existing labels. Use the label filter dropdown to show only issues with a specific label, or use the status filter to show only open or closed issues. The search box filters by title or issue number. Check the boxes for every issue you want to close. Below the issue list, optionally enter a comment that will be added to each closed issue. Click "Close Selected Issues" and confirm the action. The tool will process each selected issue one by one — opening the close action, adding your comment if provided, and confirming the close. A status message appears when the operation completes, showing how many issues were successfully closed. Issues that are already closed will be skipped with a notification.

THE ACTUAL MECHANISM — WHY IT WORKS

GitHub's web interface is built with React and uses a component-based rendering system for its issue management. The issue list is rendered as rows or list items, each containing issue metadata and action buttons. This tool scans the DOM for issue items using multiple selector patterns that GitHub consistently uses across versions. For each issue, it extracts the title, number, status, and existing labels from the visible text content and data attributes. Each issue is assigned a unique identifier from data attributes or checkbox values. When closing issues, the tool locates the close button within each issue item or accesses it through the action menu. The tool then handles any confirmation dialog that appears. If a comment is provided, the tool fills the comment textarea in the confirmation modal using React-friendly event dispatching — setting the value via the native setter and dispatching both "input" and "change" events to ensure React registers the update. This approach works without making direct API calls, which would require authentication tokens and knowledge of GitHub's internal API structure. By using the existing UI, the tool works within GitHub's own permission and validation system, and continues to function even if the underlying API changes.

THE PANEL

The floating panel is fully draggable — click and drag the header to reposition it anywhere on the page. The panel's position is saved per site in localStorage, so it reappears exactly where you left it when you return to the issues page. Double-click the header to snap the panel to the nearest edge (left or right). A collapse button minimizes the panel to a small tab showing a tag emoji badge, keeping it out of the way while still accessible. The issue list inside the panel is scrollable and resizes vertically based on the number of issues. Pressing Escape while the panel is focused closes it completely; reopening is done via a small button injected near the page toolbar. All panel interactions are non-blocking — GitHub's main UI remains fully responsive while the panel is open, and the panel updates automatically when you navigate between repositories or pages.

PLEASE NOTE

This script requires the BotGentz extension (free) to run user scripts on GitHub. GitHub frequently updates its web interface and modal structures; if the tool stops working, check for an updated version within BotGentz's script repository. This tool does not store, transmit, or log any issue data, comments, or repository content — all operations occur locally in your browser with no external network requests except those made by GitHub itself. Issue closures are applied through GitHub's own UI event system, so all changes respect your repository permissions and project settings. The tool does not bypass GitHub's security or permission system; it simply automates the clicks you would otherwise perform manually. For repositories with a large number of issues, the tool may take several minutes to complete the operation, as each issue is processed sequentially with delays to avoid overwhelming the UI. A progress indicator shows which issue is currently being processed. Always double-check your selections before closing, as closed issues can be reopened but the bulk action is designed for final cleanup. The tool only affects issues visible on the current page; to close all issues, use GitHub's built-in pagination controls or adjust your filters to show all relevant issues. The optional comment field applies the same text to all closed issues; use it for consistent messaging or leave it blank for silent closure.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.