Jira diagnostics release: a failed Jira search now reports why it failed instead of echoing only the JQL, so an expired token, an unreachable host, and a malformed query no longer look identical in the worker log.
Fixed
- Jira search failures keep their root cause:
JiraClient.searchIssuesreplaced every failure withFailed to search issues with JQL: <query>, so an HTTP status and body (401 Unauthorized), a DNS or TLS failure, and a rejected query all produced the same message and left operators with nothing to act on. The message now appends the underlying error text — once, because Jira may echo the JQL back inside its error body — and sets the original error ascause, which the worker log and--verboseoutput preserve. The same search path backs the Jira tracker’s task polling, so the diagnostic reaches ad-hoc tasks, fleet runs, and automations alike
Technical
- Jira search error regression tests:
packages/task-trackers/jira-client.test.tsandpackages/code/tests/jira-search.test.tscover the HTTP-error, echoed-JQL, empty-message, and network-failure cases, asserting that the query survives exactly once and thatcausecarries the original error