Back to Templates

Auto-resolve Jira Tickets with GitHub Copilot using Port Context

Created by

Created by: Matan Grady || matgr

Matan Grady

Last update

Last update 2 days ago

Share


Auto-resolve Jira tickets with coding agents

Improve issue resolution by assigning Jira tickets to coding agents with full operational context from Port, ensuring faster, accurate, and context-aware development

How it works

  1. Listen for Jira ticket updates and detect when an issue moves to In Progress with the label product_approved and without copilot_assigned.
  2. Query the Port catalog to extract only contextual information relevant to the Jira issue (services, repos, docs, resources, dependencies).
  3. Generate a concise GitHub issue title and a self-contained issue body that summarizes the Jira description and includes any found Port context.
  4. Create the GitHub issue in the target repository and post a comment that requests Copilot to take ownership.
  5. Write the GitHub link back to the Jira ticket and add the copilot_assigned label so the ticket is marked as handled.

Setup

  • [ ] Connect your Jira Cloud account and enable issue_updated events
  • [ ] Register for free on Port.io
  • [ ] Connect your Port.io account and add the API key
  • [ ] Connect your GitHub account and select the target repository
  • [ ] Ensure a Copilot bot or @copilot user has access to the repository
  • [ ] Confirm the workflow webhook or Jira trigger URL is active
  • [ ] Test by moving a product_approved ticket to In Progress.