feat: Auto-transition Jira cards to "In Review" on PR creation
Assisted-by: Claude Opus 4.5 via Claude Code
change uqpotxpstvzlqsolzoosmomusqompnzm
commit 15d0382caa374a5c85e0a03186eed85eec9ef736
author Alpha Chen <alpha@kejadlen.dev>
date
parent wvsrknqs
diff --git a/ai/claude/commands/pr.md b/ai/claude/commands/pr.md
index 0d7cacfd..39f8c188 100644
--- a/ai/claude/commands/pr.md
+++ b/ai/claude/commands/pr.md
@@ -32,4 +32,8 @@ When creating a pull request:
    - Follow repository conventions
 8. Create the PR: `gh pr create --head <bookmark-name> --title "<title>"` using
    a HEREDOC to pass the body. Add `--draft` unless `ready` was specified.
-9. Return the PR URL
+9. **If a Jira card is detected**, transition it to "In Review":
+   - Check workspace name or bookmark for pattern like `PROJ-123` (e.g., `LDE-488`)
+   - If found: `acli jira workitem transition --key <KEY> --status "In Review"`
+   - If not found, skip this step silently
+10. Return the PR URL