Loading...
Loading...
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.
npx skill4agent add composiohq/awesome-codex-skills issue-triagecurl -fsSL https://composio.dev/install | bash
composio login
composio link linear # or: composio link jiracomposio search "list issues" --toolkits linear
composio search "search issues" --toolkits jira
composio tools list linear
composio tools list jira--get-schemaLINEAR_LIST_ISSUESLINEAR_CREATE_ISSUELINEAR_UPDATE_ISSUELINEAR_CREATE_COMMENTJIRA_SEARCH_FOR_ISSUES_USING_JQLJIRA_CREATE_ISSUEJIRA_EDIT_ISSUEJIRA_ADD_COMMENTJIRA_ASSIGN_ISSUE# 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"]
}'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"]}
}'# 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)"'scripts/triage-linear.tscomposio run --file scripts/triage-linear.tsconst { 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.`
});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"]
});
}
'composio execute <SLUG> --get-schema403composio link linearfieldscomposio run--parallel