collabSupport/commands
jmcqueen c15a471959 Tag skipped Jira tickets with bot-skipped label
Prevents the hourly poller from re-classifying the same "not for us"
tickets every hour and burning AI tokens on them forever.

New SKIP_LABEL='bot-skipped' is applied whenever the AI classifier
decides a ticket is out-of-scope (kind='skip', no store number, or an
unroutable kind). The JQL now excludes both bot labels while
preserving the `IS EMPTY OR` union so brand-new unlabeled tickets
still match. Transient failures (AI down, collector 5xx, comment
5xx) intentionally stay unlabeled so they retry next poll.

Labeling is wrapped in a non-throwing helper — a Jira 5xx on the
label call can't abort the batch; the ticket just gets one duplicate
classification next hour, which is far cheaper than dropping the poll.
2026-07-01 17:14:17 -04:00
..
avStatus.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
bulkAvStatusCSV.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
bulkAvSwitchCSV.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
help.js Tag skipped Jira tickets with bot-skipped label 2026-07-01 17:14:17 -04:00
jiraHistory.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
jiraPoll.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
jiraTicket.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
offboardUser.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
phoneStatus.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
provisionDect.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
registry.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
testDevicesByModel.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
unknownCommand.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
vcMonitor.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
vcProvision.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
webexHost.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
woAttachments-web.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
woAttachments.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
woHistory.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
woSummary.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00