Skip to content
MCP Servers
Skill

/triage-issue

Intelligently triage bug reports and error messages by searching for duplicates in Jira and offering to create new issues or add comments to existing ones. When an agent needs to: (1) Triage a bug report or error message, (2) Check if an issue is a duplicate, (3) Find similar

From plugin
atlassian
1.2k15 skills1 MCP

Claude Code

$ npx -y skills add atlassian/atlassian-mcp-server --skill triage-issue --agent claude-code

SKILL.md

triage-issue.SKILL.md
name: triage-issue
description: "Intelligently triage bug reports and error messages by searching for duplicates in Jira and offering to create new issues or add comments to existing ones. When an agent needs to: (1) Triage a bug report or error message, (2) Check if an issue is a duplicate, (3) Find similar past issues, (4) Create a new bug ticket with proper context, or (5) Add information to an existing ticket. Searches Jira for similar issues, identifies duplicates, checks fix history, and helps create well-structured bug reports."

Triage Issue

Keywords

triage bug, check duplicate, is this a duplicate, search for similar issues, create bug ticket, file a bug, report this error, triage this error, bug report, error message, similar issues, duplicate bug, who fixed this, has this been reported, search bugs, find similar bugs, create issue, file issue

Overview

Automatically triage bug reports and error messages by searching Jira for duplicates, identifying similar past issues, and helping create well-structured bug tickets or add context to existing issues. This skill eliminates manual duplicate checking and ensures bugs are properly documented with relevant historical context.

**Use this skill when:** Users need to triage error messages, bug reports, or issues to determine if they're duplicates and take appropriate action.

---

Workflow

Follow this 6-step process to effectively triage issues:

Step 1: Extract Key Information

Analyze the bug report or error message to identify search terms.

Extract These Elements:

**Error signature:**

  • Error type or exception name (e.g., "NullPointerException", "TimeoutError")
  • Error code or status (e.g., "500", "404", "ERR_CONNECTION_REFUSED")
  • Specific error message text (key phrases, not full stack trace)

**Context:**

  • Component or system affected (e.g., "authentication", "payment gateway", "API")
  • Environment (e.g., "production", "staging", "mobile app")
  • User actions leading to error (e.g., "during login", "when uploading file")

**Symptoms:**

  • Observable behavior (e.g., "page blank", "infinite loading", "data not saving")
  • Impact (e.g., "users can't login", "payments failing")

Example Extractions:

**Input:** "Users getting 'Connection timeout' error when trying to login on mobile app" **Extracted:**

  • Error: "Connection timeout"
  • Component: "login", "mobile app"
  • Symptom: "can't login"

**Input:** "NullPointerException in PaymentProcessor.processRefund() line 245" **Extracted:**

  • Error: "NullPointerException"
  • Component: "PaymentProcessor", "refund"
  • Location: "processRefund line 245"

---

Step 2: Search for Duplicates

Search Jira using extracted keywords to find similar or duplicate issues.

Search Strategy:

Execute **multiple targeted searches** to catch duplicates that may use different wording:

**Search 1: Error-focused**

searchJiraIssuesUsingJql(
  cloudId="...",
  jql='project = "PROJ" AND (text ~ "error signature" OR summary ~ "error signature") AND type = Bug ORDER BY created DESC',
  fields=["summary", "description", "status", "resolution", "created", "updated", "assignee"],
  maxResults=20
)

**Search 2: Component-focused**

searchJiraIssuesUsingJql(
  cloudId="...",
  jql='project = "PROJ" AND text ~ "component keywords" AND type = Bug ORDER BY updated DESC',
  fields=["summary", "description", "status", "resolution", "created", "updated", "assignee"],
  maxResults=20
)

**Search 3: Symptom-focused**

searchJiraIssuesUsingJql(
  cloudId="...",
  jql='project = "PROJ" AND summary ~ "symptom keywords" AND type = Bug ORDER BY priority DESC, updated DESC',
  fields=["summary", "description", "status", "resolution", "created", "updated", "assignee"],
  maxResults=20
)

Search Tips:

**Use key terms only:**

  • ✅ "timeout login mobile"
  • ✅ "NullPointerException PaymentProcessor refund"
  • ❌ "Users are getting a connection timeout error when..." (too verbose)

**Search recent first:**

  • Order by `created DESC` or `updated DESC` to find recent similar issues
  • Recent bugs are more likely to be relevant duplicates

**Don't over-filter:**

  • Include resolved issues (might have been reopened or regression)
  • Search across all bug statuses to find fix history

---

Step 3: Analyze Search Results

Evaluate the search results to determine if this is a duplicate or a new issue.

Duplicate Detection:

**High confidence duplicate (>90%):**

  • Exact same error message in summary or description
  • Same component + same error type
  • Recent issue (< 30 days) with identical symptoms
  • **Action:** Strongly recommend adding comment to existing issue

**Likely duplicate (70-90%):**

  • Similar error with slight variations
  • Same component but different context
  • Resolved issue with same root cause
  • **Action:** Present as possible duplicate, let user decide

**Possibly related (40-70%):**

  • Similar symptoms but different error
  • Same component area but different specific error
  • Old issue (> 6 months) that might be unrelated
  • **Action:** Mention as potentially related

**Likely new issue (<40%):**

  • No similar issues found
  • Different error signature and component
  • Unique symptom or context
  • **Action:** Recommend creating new issue

Check Fix History:

If similar resolved issues are found:

**Extract relevant information:**

  • Who fixed it? (assignee on resolved issues)
  • How was it fixed? (resolution comment or linked PRs)
  • When was it fixed? (resolution date)
  • Has it regressed? (any reopened issues)

**Present this context** to help with triage decision.

---

Step 4: Present Findings to User

**CRITICAL:** Always present findings and wait for user decision before taking any action.

Format for Likely Duplicate:

🔍 **Triage Results: Likely Duplicate**

I found a very similar issue already reported:

**PROJ-456** - Connection timeout during mobile login
Status: Open | Priority: High | Created: 3 days ago
Assignee: @john.doe
https://yoursit
Read more
@atlassian
Ships withatlassian

Official remote MCP server for Atlassian. Securely connect Jira, Confluence, Jira Service Management, Bitbucket, and Compass to Claude, ChatGPT, Cursor, VS Code, and other AI tools using OAuth 2.1 or API tokens.

1.2k15 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.2k
Star history of atlassian/atlassian-mcp-server on GitHub, a chart by star-history.com

Other skills on atlassian.

assess-release

assess-release

Assess whether a release, fix version or milestone is ready to ship using Teamwork Graph across Jira, Projects, Confluence,…

@atlassian@atlassianInstall Skill
atlassian-design

atlassian-design

Apply the Atlassian Design System (ADS) to artifacts, pages, mockups and prototypes — official tokens (light and dark), type,…

@atlassian@atlassianInstall Skill
before-you-start

before-you-start

Before starting an idea, plan or project, find who in the organisation is already doing, or has done, something similar, using…

@atlassian@atlassianInstall Skill
catch-up

catch-up

Catch the current user up on a period they were away, across their own work or a project, goal, space, epic or topic, using…

@atlassian@atlassianInstall Skill

More skills from other plugins.

gitnexus-cli

gitnexus-cli

Use when the user needs to run GitNexus CLI commands like analyze/index a repo, check status, clean the index, generate a wiki,…

gitnexus10d49k
@abhigyanpatwari@abhigyanpatwariInstall Skill
fastmcp-client-cli

fastmcp-client-cli

Query and invoke tools on MCP servers using fastmcp list and fastmcp call. Use when you need to discover what tools a server…

fastmcp9d29k
@prefecthq@prefecthqInstall Skill
n8n-agents

n8n-agents

Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain.* AI node — an AI Agent, LLM chain,…

n8n-mcp9d23k
@czlonkowski@czlonkowskiInstall Skill
post-to-xhs

post-to-xhs

小红书内容发布技能。支持两种发布模式:(1) 上传图文模式 - 图片+短文;(2) 写长文模式 - 长篇文章+排版模板。 支持两种输入方式:用户提供完整内容和图片/图片URL,直接发布;或提供网页URL,自动提取内容和图片。…

@xpzouying@xpzouyingInstall Skill

Questions about triage-issue.

Which coding agents can use triage-issue?
triage-issue installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.