All tools

Search Jira work items with JQL

Returns the Jira work items that match a JQL query, with the fields you ask for, one page at a time.

View on GitHub
Updated Sep 27, 2026Available asMCPCLIAPI

Description

Pass the query as `jql`, such as `project = TEAM`, and page with `nextPageToken`. For a query too long for a URL, use `POST /rest/api/3/search/jql`; the older `/rest/api/3/search` is deprecated and being removed. The CLI takes `--jql` and can print `--json` or `--csv`.

search-jira-work-items.md

Search Jira work items with JQL

Returns the Jira work items that match a JQL query, with the fields you ask for, one page at a time.

Pass the query as jql, such as project = TEAM, and page with nextPageToken. For a query too long for a URL, use POST /rest/api/3/search/jql; the older /rest/api/3/search is deprecated and being removed. The CLI takes --jql and can print --json or --csv.

Set up

Use the first option your agent supports.

MCP (official, remote)

Add this server to your agent's MCP settings, then sign in when asked.

{ "mcpServers": { "atlassian": { "url": "https://mcp.atlassian.com/v2/mcp" } } }

Call the MCP tool searchJiraIssuesUsingJql.

Server URL: https://mcp.atlassian.com/v2/mcp

CLI (official)

Install the command, then confirm it runs.

brew tap atlassian/homebrew-acli && brew install acli
acli --version

Run acli jira workitem search.

API (official)

Before doing anything else, make one read-only call to confirm access.

Rules

  • Ask the user before anything that sends messages, costs money, or changes data.
  • Never print API keys.

Built from these files in the repository

The layout and the rules come from lib/catalog/render-markdown.ts, the set-up wording from lib/catalog/render-access.ts.

Ways in

RouteSourceCallRequiredDocs
MCPOfficial · remotesearchJiraIssuesUsingJqlOAuthDocs
CLIOfficialacli jira workitem searchOAuthDocs
APIOfficialGET /rest/api/3/search/jqlAPI key in $ATLASSIAN_API_KEYDocs

Workflows using Search Jira work items with JQL

No workflows yet
No published workflow uses Search Jira work items with JQL yet.