Collaboration Support Bot supporting my team.
Find a file
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
commands Tag skipped Jira tickets with bot-skipped label 2026-07-01 17:14:17 -04:00
config Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
integrations Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
public Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
services Tag skipped Jira tickets with bot-skipped label 2026-07-01 17:14:17 -04:00
tests Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
utils Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
.dockerignore Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
.env.example Tag skipped Jira tickets with bot-skipped label 2026-07-01 17:14:17 -04:00
.gitignore Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
docker-compose.yml Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
Dockerfile Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
index.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
nodemon.json Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
package-lock.json Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
package.json Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00