Skip to content
Skillpedia
Tasks & projects17k Β· #10755

issue-triage

What it does

This skill helps an AI agent triage a backlog of issues in Linear or Jira. It is for project leads and engineers who need to tidy up unassigned, stale or duplicate tickets.

When to use it

  • βœ“When you run a weekly triage and want unassigned or stale issues listed.
  • βœ“When a release is done and you want all high-priority bugs grouped and checked for duplicates.
  • βœ“When tickets from another tool, such as an error tracker, need to be synced into your issue tracker.

Skill link

https://github.com/composio-community/awesome-codex-skills/blob/master/issue-triage/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/composio-community/awesome-codex-skills/blob/master/issue-triage/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œCan you go through our unassigned Linear bugs, find duplicates and tell me which ones need an owner?”

5 new skills a week. 1 minute to read.

How it works

The agent pulls the issues it needs through the Composio tool, groups duplicates and proposes labels or owners. It then posts a short summary for the team.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Issue Triage (Linear / Jira)

Drive triage sessions and bug sweeps across Linear or Jira with the Composio CLI. Pull the backlog, cluster duplicates, apply labels, and hand a clean list back to the team.

When to Use

  • Weekly triage: "what's unassigned, stale, or missing a priority?"
  • Bug sweep after a release: "cluster all P1/P2 bugs, dedupe, assign owners."
  • Cross-tool sync: Sentry β†’ Linear, PagerDuty β†’ Jira.

Prereqs

curl -fsSL https://composio.dev/install | bash
composio login
composio link linear        # or: composio link jira

Discover Tools

composio search "list issues" --toolkits linear
composio search "search issues" --toolkits jira
composio tools list linear
composio tools list jira

Common slugs (verify with --get-schema):

Linear

  • LINEAR_LIST_ISSUES
  • LINEAR_CREATE_ISSUE
  • LINEAR_UPDATE_ISSUE
  • LINEAR_CREATE_COMMENT

Jira

  • JIRA_SEARCH_FOR_ISSUES_USING_JQL
  • JIRA_CREATE_ISSUE
  • JIRA_EDIT_ISSUE
  • JIRA_ADD_COMMENT
  • JIRA_ASSIGN_ISSUE

Triage Workflow

  1. Pull the backlog slice:
    # Linear
    composio execute LINEAR_LIST_ISSUES -d '{
      "filter": { "state": { "type": { "eq": "unstarted" } }, "assignee": { "null": true } },
      "first": 100
    }'
    
    # Jira
    composio execute JIRA_SEARCH_FOR_ISSUES_USING_JQL -d '{
      "jql": "project = APP AND statusCategory != Done AND assignee is EMPTY ORDER BY updated DESC",
      "maxResults": 100,
      "fields": ["summary","priority","labels","updated","reporter"]
    }'
    
  2. Cluster by title similarity and labels. The agent groups likely duplicates locally.
  3. Apply updates in one pass (label, priority, assignee):
    composio execute LINEAR_UPDATE_ISSUE -d '{
      "id":"abc-123","priority":2,"labelIds":["label-bug","label-p1"],"assigneeId":"user-42"
    }'
    
    composio execute JIRA_EDIT_ISSUE -d '{
      "issueIdOrKey":"APP-482",
      "fields":{"priority":{"name":"High"},"labels":["bug","p1"]}
    }'
    
  4. Link duplicates with comments referencing the canonical issue.
  5. Post a digest of what changed to Slack so the team sees the sweep results.

Bug Sweep (Post-Release)

# Jira: every bug filed in the last 7 days, sorted by severity
composio execute JIRA_SEARCH_FOR_ISSUES_USING_JQL -d '{
  "jql":"type = Bug AND created >= -7d ORDER BY priority DESC, created ASC",
  "fields":["summary","priority","labels","reporter","components"]
}' | jq -r '.issues[] | "\(.fields.priority.name)\t\(.key)\t\(.fields.summary)"'

Workflow File

scripts/triage-linear.ts, run with composio run --file scripts/triage-linear.ts:

const { nodes: issues } = await execute("LINEAR_LIST_ISSUES", {
  filter: { state: { type: { eq: "unstarted" } }, assignee: { null: true } },
  first: 100
});

const stale = issues.filter(i => {
  const age = (Date.now() - new Date(i.updatedAt).getTime()) / 86400000;
  return age > 14;
});

for (const i of stale) {
  await execute("LINEAR_CREATE_COMMENT", {
    issueId: i.id,
    body: "Auto-triage: stale for 14+ days. Please assign or close."
  });
}

await execute("SLACK_SEND_MESSAGE", {
  channel: "triage",
  text: `Weekly triage: pinged ${stale.length} stale issues.`
});

Cross-Tool: Sentry β†’ Linear

composio run '
  const hot = await execute("SENTRY_LIST_A_PROJECTS_ISSUES", {
    organization_slug:"acme", project_slug:"api",
    query:"is:unresolved", sort:"freq", limit:5
  });
  for (const s of hot) {
    await execute("LINEAR_CREATE_ISSUE", {
      teamId: "TEAM_ID",
      title: `[Sentry] ${s.title}`,
      description: `${s.permalink}\nCount: ${s.count}`,
      labelIds: ["label-bug","label-from-sentry"]
    });
  }
'

Troubleshooting

  • Unknown field names β†’ composio execute <SLUG> --get-schema shows the exact filter shape (Linear uses nested objects; Jira uses JQL strings).
  • 403 on Linear β†’ re-run composio link linear with the right workspace.
  • Jira custom fields missing β†’ request them explicitly in the fields array.
  • Bulk edits rate-limited β†’ insert a 250ms sleep in the composio run loop; don't use --parallel.

Full CLI reference: docs.composio.dev/docs/cli

FAQ

Which trackers does it support?

It supports Linear and Jira through the Composio tool.

Will the agent change tickets on its own?

It can update labels, owners and comments through the tool. You should review changes before the team acts on them.

How does it find duplicates?

It clusters issues that look alike, so you can decide which ones to merge.

Details

Original description by the author

Triage Linear or Jira backlogs and run bug sweeps via the Composio CLI. Bulk-fetch issues, dedupe, relabel, reassign, and post summaries β€” all from the shell without clicking through the UI.

repo: composio-community/awesome-codex-skills

Popularity

GitHub stars
17k
Ranking position
#10755
License
β€”
Updated
7/25/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills