jira_search
Search Jira issues by project, status, assignee, priority, type, or date using JQL to find open bugs, tasks, stories, epics, and unassigned or recently updated work.
Instructions
Find Jira issues matching specific criteria. Use when user asks to:
Find, list, or show issues (bugs, tasks, stories, epics)
Search for work by status, assignee, project, priority, or date
Get open, closed, in-progress, or unassigned items
Find "my tasks" or someone else's work
List recent or updated issues
Build JQL from natural language requests:
"my open bugs" → assignee = currentUser() AND type = Bug AND status != Done
"high priority tasks in PROJECT" → project = PROJECT AND type = Task AND priority = High
"issues updated this week" → updated >= startOfWeek()
"unassigned bugs" → assignee IS EMPTY AND type = Bug
Common JQL fields: project, status, assignee, reporter, priority, type, created, updated, due
CRITICAL JQL GOTCHAS:
statusCategory ("To Do", "In Progress", "Done") is NOT an issue type! Use for broad status filtering.
status (exact workflow status name like "Open", "In Review") is project-specific.
type (Bug, Task, Story, Epic) is the issue type field.
"todo tickets" → statusCategory = "To Do", NOT type = "To Do" (which causes errors)
Example: statusCategory = "To Do" AND assignee = currentUser() AND created >= -1w
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"jql": "<jql>"
},
"name": "jira_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jql | Yes | JQL query. Examples: "project = PROJ AND status = Open", "assignee = currentUser() AND type = Bug" | |
| fields | No | Fields to include in results | |
| startAt | No | Pagination offset (default 0) | |
| maxResults | No | Max results (1-100, default 50) |