Jira connector

From andreaswasita/copilot-cowork-dojo · View interactive version

Jira connector is an AI agent skill from the GitHub repository andreaswasita/copilot-cowork-dojo. Drive Jira from Copilot — create / update issues, run JQL queries, manage sprints and boards, generate release notes. Use whenever engineering or delivery context is captured in Jira and needs to flow into a cowork deliverable (status, steerco, retro). Triggers: "Jira status", "JQL", "create issue",

How to use this skill

Skill file

Jira Connector

JQL is the API. Master a small set of canonical queries and your status updates write themselves.


Quick Reference

| Task | Approach |

|---|---|

| Status for a sprint | project = X AND sprint in openSprints() -> group by status |

| Stuck items | status = "In Progress" AND updated < -7d |

| Release notes | fixVersion = "vX.Y" AND status = Done -> group by component |

| Create from action | Pick project + parent epic; set priority + labels; link back |

| Bulk transition | Dry-run with one issue; verify automation didn't fire; then expand |

| Cross-tenant work | Re-resolve custom field IDs; don't carry IDs across instances |

Prerequisites — this skill is a playbook, not the connector

A SKILL.md cannot call Jira on its own. It assumes the platform already exposes Jira as a tool. The skill teaches Cowork how to use Jira well; the connector itself is separate infrastructure.

Before this skill works end-to-end you need:

  1. A Jira MCP server (or equivalent platform connector) installed and running, exposing tools like JqlSearch, GetIssue, CreateIssue, TransitionIssue. Examples: Atlassian's official MCP, mcp-atlassian, or a self-hosted wrapper around the Atlassian REST API.
  2. Credentials — Atlassian API token or OAuth session bound to your account, configured in the connector (not in this skill).
  3. Network egress + tenant trust — the connector must be able to reach *.atlassian.net from the Cowork environment with your auth.
  4. Tool discovery — confirm the tools are visible to Cowork in your session (ask Cowork: "what Jira tools do you have?") before using this skill.

If any of those are missing, this skill degrades gracefully to: "Open Jira manually, run this JQL, paste the result back into chat." It's still useful as a query reference — just not autonomous.

When to Use

How to Use

  1. Frame with JQL. Start narrow: project, sprint, status, assignee. Iterate.
  2. List issues — pull only the fields you need (summary, status, assignee, priority, labels, fixVersion, parent, customfield_xxxx).
  3. Read the issue body / comments only when synthesis requires it (cost / latency).
  4. Create / transition with explicit fields. Transitions require the workflow's transitionId, not a status name.
  5. Verify the result with a follow-up JQL — never trust the create response alone.

Canonical JQL Patterns

| Goal | JQL |

|---|---|

| Open work for a sprint | project = ABC AND sprint in openSprints() |

| Stuck items | project = ABC AND status = "In Progress" AND updated < -7d |

| Release candidate | fixVersion = "v2.4.0" AND status != Done |

| My team's escalations | project = ABC AND priority in (Highest, High) AND resolution = Unresolved |

| Recently closed (release notes) | project = ABC AND resolutiondate >= -14d AND status = Done |

| Orphans (no epic) | project = ABC AND "Epic Link" is EMPTY AND issuetype = Story |

Examples

| Don't: Anti-pattern | Do: Right move |

|---|---|

| Transition an issue by status name | Use the workflow's transitionId — names collide across projects |

| Hardcode customfield_10001 across tenants | Re-resolve custom field IDs per Jira instance |

| Paste raw JQL output into an exec status | Translate engineer shorthand for the audience; cite issue keys |

| Run a bulk transition blind | Dry-run on one issue, confirm no automation fired, then expand |

Critical Rules

Common Pitfalls

Anti-Patterns

Verify Before Roll-up

Related

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.