AI agent integration with Jira and Azure DevOps for ticket-driven development and PR review workflows
/plugin marketplace add rlcurrall/aide/plugin install aide@aide-marketplaceThis skill is limited to using the following tools:
The aide CLI provides AI coding agents with tools to interact with Jira and Azure DevOps APIs for ticket-driven development and PR review workflows.
| Command | Description |
|---|---|
aide jira search "JQL" | Search tickets with JQL query |
aide jira ticket KEY | Get ticket details |
aide jira comment KEY "text" | Add comment to ticket |
aide jira comments KEY | Get ticket comments |
aide jira desc KEY "text" | Update ticket description |
| Command | Description |
|---|---|
aide pr prs | List pull requests |
aide pr create | Create a PR |
aide pr update [--pr ID] | Update a PR |
aide pr comments [--pr ID] | Get PR comments |
aide pr comment "msg" [--pr ID] | Post PR comment |
aide pr reply <thread> "msg" | Reply to thread |
aide jira ticket KEY to fetch full ticket detailsaide jira comments KEY --latest 5 to see recent discussionaide pr comments PR-ID to load all PR comments--thread-status active to focus on unresolved feedback--latest N to see most recent comments--author "email" to see specific reviewer feedback# Get active PR feedback
aide pr comments 24094 --thread-status active
# Get latest 10 comments
aide pr comments 24094 --latest 10
# Get comments from specific reviewer
aide pr comments 24094 --author "reviewer@company.com"
# Use full PR URL (auto-extracts org/project/repo)
aide pr comments https://dev.azure.com/org/project/_git/repo/pullrequest/24094
# JSON format for structured processing
aide pr comments 24094 --format json
aide pr create --title "Title" --target main--description flag or update later--draft flag for work-in-progress PRs# Create a draft PR
aide pr create --title "WIP: Add authentication" --target develop --draft
# Update PR title or description
aide pr update --pr 24094 --title "Add OAuth authentication"
# Publish draft when ready for review
aide pr update --pr 24094 --publish
# Convert back to draft if more work needed
aide pr update --pr 24094 --draft
# Abandon PR if no longer needed
aide pr update --pr 24094 --abandon
# Reactivate abandoned PR
aide pr update --pr 24094 --activate
aide pr comments --pr PR-ID --thread-status activeaide pr reply THREAD-ID "message" --pr PR-IDaide pr comment "Ready for re-review" --pr PR-ID# Add general PR comment (auto-detect PR from branch)
aide pr comment "Ready for re-review"
# Comment on specific PR
aide pr comment "Ready for re-review" --pr 24094
# Comment on specific file
aide pr comment "Consider refactoring this" --pr 24094 --file src/auth.ts
# Comment on specific line
aide pr comment "Add error handling here" --pr 24094 --file src/auth.ts --line 42
# Reply to existing thread
aide pr reply 156 "Fixed in latest commit" --pr 24094
--format json) when you need structured dataAll commands support --format flag:
| Format | Use Case |
|---|---|
text (default) | Human-readable output for review |
json | Structured data for programmatic processing |
markdown | Documentation-friendly format |
# My open tickets
aide jira search "assignee = currentUser() AND status != Closed"
# My in-progress work
aide jira search "assignee = currentUser() AND status = 'In Progress'"
# Tickets I'm watching
aide jira search "watcher = currentUser()"
# All open bugs in project
aide jira search "project = PROJ AND issuetype = Bug AND status != Closed"
# High priority unassigned
aide jira search "project = PROJ AND priority = High AND assignee IS EMPTY"
# Sprint tickets
aide jira search "project = PROJ AND sprint in openSprints()"
# Recent bugs (last 7 days)
aide jira search "issuetype = Bug AND created >= -7d"
# Updated this week
aide jira search "updated >= startOfWeek()"
# Resolved this month
aide jira search "resolved >= startOfMonth()"
# Search by keyword
aide jira search "text ~ 'authentication'"
# Search in summary only
aide jira search "summary ~ 'login bug'"
# Combine with filters
aide jira search "project = PROJ AND text ~ 'performance' AND priority = High"
When running from a git repository with an Azure DevOps remote, the CLI automatically detects:
Supported remote formats:
git@ssh.dev.azure.com:v3/org/project/repohttps://dev.azure.com/org/project/_git/repoYou can override with explicit flags:
aide pr prs --project MyProject --repo MyRepo
aide pr comments 24094 --project MyProject --repo MyRepo
| Error | Cause | Solution |
|---|---|---|
| Authentication failed | Invalid or expired credentials | Check JIRA_API_TOKEN or AZURE_DEVOPS_PAT |
| Resource not found | Invalid ticket/PR ID | Verify the ID is correct |
| Permission denied | Insufficient access | Ensure you have access to the resource |
| Network error | Connectivity issues | Check network and service URLs |
Check environment variables:
JIRA_URL, JIRA_EMAIL, JIRA_API_TOKENAZURE_DEVOPS_ORG_URL, AZURE_DEVOPS_PATVerify credentials:
Test connectivity:
aide jira search "project = PROJ" 1--help flag for command-specific guidanceCheck permissions:
# Get full ticket context
aide jira ticket PROJ-123
# Check recent discussion
aide jira comments PROJ-123 --latest 5
# After understanding requirements, begin implementation
# Add progress update
aide jira comment PROJ-123 "Started implementation of the authentication module. ETA: 2 hours."
# Add technical notes
aide jira comment PROJ-123 "Technical note: Using OAuth 2.0 with PKCE flow for enhanced security."
# Get all active feedback
aide pr comments 24094 --thread-status active
# Get specific reviewer's comments
aide pr comments 24094 --author "senior.dev@company.com"
# After addressing feedback, verify no remaining active threads
aide pr comments 24094 --thread-status active
# Get ticket for context
aide jira ticket PROJ-123
# Get PR comments for feedback
aide pr comments 24094 --format json
# Add closing comment to ticket
aide jira comment PROJ-123 "Implementation complete. PR #24094 merged. Changes include:
- Added OAuth 2.0 authentication
- Implemented token refresh logic
- Added unit tests for auth module"
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.