Summary
When a Jira project key happens to be a JQL reserved word (e.g. IF), the MCP passes the value unquoted and Jira rejects the query with:
Error in the JQL Query: 'IF' is a reserved JQL word. You must surround it in quotation marks to use it in a query.
Steps to Reproduce
Use jira_search with a JQL query referencing a project whose key is a reserved word:
project = IF AND text ~ "universal-builder" AND issuetype in (Story, Task, Epic) ORDER BY updated DESC
Expected Behavior
The MCP should automatically quote values in project = and project IN (...) positions that are JQL reserved words, producing:
project = "IF" AND text ~ "universal-builder" AND issuetype in (Story, Task, Epic) ORDER BY updated DESC
Actual Behavior
The raw unquoted value is forwarded to the Jira API, which returns an error.
Context
Summary
When a Jira project key happens to be a JQL reserved word (e.g.
IF), the MCP passes the value unquoted and Jira rejects the query with:Steps to Reproduce
Use
jira_searchwith a JQL query referencing a project whose key is a reserved word:Expected Behavior
The MCP should automatically quote values in
project =andproject IN (...)positions that are JQL reserved words, producing:Actual Behavior
The raw unquoted value is forwarded to the Jira API, which returns an error.
Context
projects_filterconfig already quotes project keys correctly (lines 62/64 ofsearch.py)jqlparameter