You are helping me build the following AI agent workflow. ## Goal Auto Resolve Jira Tickets With Copilot: When your Jira ticket moves to In Progress with the product_approved label, this workflow enriches it with service and team data from Port. ## Specification - What it does: When your Jira ticket moves to In Progress with the product_approved label, this workflow automatically enriches it with service and team data from Port and creates a structured GitHub issue for you. It then assigns the task to GitHub Copilot to generate a resolution and links the resulting pull request back to your original Jira ticket so you can track progress seamlessly. - Trigger: Triggered by an event (Event ยท on Jira issue update) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - n8n: Workflow orchestration - Jira Software: Trigger and ticket updates - Port: Context extraction from software catalog - GitHub Copilot: AI code generation and assignment ## Known pitfalls, handle each one explicitly in your implementation 1. Jira ticket descriptions often contain sensitive data so sanitize input before sending it to Copilot. 2. GitHub issue creation may fail if the assignee lacks permissions, verify role access beforehand. 3. Copilot might generate code that does not match the team's style guide, enforce linting in the PR template. ## Reference implementation https://n8n.io/workflows/11728 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/auto-resolve-jira-tickets-with-copilot/ via usecasesforagents.com