feat: replace create-task and create-issue with unified create-ticket #18

Merged
naomi merged 1 commits from feat/tickets-better into main 2026-03-09 14:09:08 -07:00
Owner

Summary

  • Removes /create-task (LeanTime) and /create-issue (Gitea) slash commands
  • Introduces /create-ticket with a platform choice argument: LeanTime, Asana, Gitea, GitHub
  • User provides only a description; the AI generates both the title and a fleshed-out body
  • owner and repo arguments are optional but validated at runtime when Gitea or GitHub is selected
  • Adds ASANA_KEY to prod.env (1Password reference — key needs to be added to vault)
  • Command remains restricted to Naomi's user ID

Test plan

  • Register updated commands.json against the Discord API
  • Add ASANA_KEY to 1Password vault at op://Environment Variables - Naomi/Amari/asana key
  • Test /create-ticket platform:LeanTime description:... creates a task on the LeanTime board
  • Test /create-ticket platform:Asana description:... creates a task in Naomi's Asana project
  • Test /create-ticket platform:Gitea owner:nhcarrigan repo:amari description:... creates a Gitea issue
  • Test /create-ticket platform:GitHub owner:naomi-lgbt repo:... description:... creates a GitHub issue
  • Test that omitting owner/repo for Gitea/GitHub returns a helpful error
  • Verify AI generates a sensible title and description from the raw description

This issue was created with help from Hikari~ 🌸

## Summary - Removes `/create-task` (LeanTime) and `/create-issue` (Gitea) slash commands - Introduces `/create-ticket` with a `platform` choice argument: **LeanTime**, **Asana**, **Gitea**, **GitHub** - User provides only a `description`; the AI generates both the title and a fleshed-out body - `owner` and `repo` arguments are optional but validated at runtime when Gitea or GitHub is selected - Adds `ASANA_KEY` to `prod.env` (1Password reference — key needs to be added to vault) - Command remains restricted to Naomi's user ID ## Test plan - [ ] Register updated `commands.json` against the Discord API - [ ] Add `ASANA_KEY` to 1Password vault at `op://Environment Variables - Naomi/Amari/asana key` - [ ] Test `/create-ticket platform:LeanTime description:...` creates a task on the LeanTime board - [ ] Test `/create-ticket platform:Asana description:...` creates a task in Naomi's Asana project - [ ] Test `/create-ticket platform:Gitea owner:nhcarrigan repo:amari description:...` creates a Gitea issue - [ ] Test `/create-ticket platform:GitHub owner:naomi-lgbt repo:... description:...` creates a GitHub issue - [ ] Test that omitting `owner`/`repo` for Gitea/GitHub returns a helpful error - [ ] Verify AI generates a sensible title and description from the raw description ✨ This issue was created with help from Hikari~ 🌸
hikari added 1 commit 2026-03-09 13:50:23 -07:00
feat: replace create-task and create-issue with unified create-ticket
Node.js CI / CI (pull_request) Successful in 27s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 51s
0dba9a1af9
Removes /create-task and /create-issue slash commands and introduces
/create-ticket, which routes to LeanTime, Asana, Gitea, or GitHub based
on a platform choice argument. The user provides only a description; the
AI generates both the title and fleshed-out body.
naomi merged commit ec6a4469e1 into main 2026-03-09 14:09:08 -07:00
naomi deleted branch feat/tickets-better 2026-03-09 14:09:09 -07:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/amari#18