extract_tickets
Extract ticket numbers from branch names, commit messages, and additional text to identify related issues or tasks.
Instructions
Extract ticket numbers from the current branch, commits, and optional additional text.
Uses TICKET_PATTERN env var to find tickets in:
Branch name (e.g., "feature/PROJ-1234-add-login")
Commit messages since base branch
Additional text provided
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoPath | No | Path to the git repository. IMPORTANT: Always pass the user's current project/workspace directory. | |
| includeCommits | No | Whether to search commit messages for tickets | |
| additionalText | No | Additional text to search for tickets (e.g., PR title) |