v0.22.17
Fixed
-
The documented rework for
jira-closure-evidencedescribed a mechanism that
does not persist. The plan was to carry the closure comment inside the
transition (update.comment[].add.body). Measured against a real closure
before building on it:- A markdown string is rejected — "Operation value must be an Atlassian
Document". That error comes from Jira's own validator, proving the MCP
server does forwardupdate. - Proper ADF is accepted: the call returns success, the status moves to
Done, and the comment is silently dropped.comment.totalstays 0,
re-read twice minutes apart, while a sibling ticket returns its comments
through the identical call.
Almost certainly
hasScreen: falseon the transition — Jira drops field
operations for a screenless transition. That is a per-workflow property, so
even where it works it is not something a consumer could rely on.Shipping it would have been worse than shipping nothing: the gate would
demand the comment ride in the transition, the author would comply, Jira would
return success, and the ticket would land in Done with no comment at all.The lesson is this rule's own subject turned on its author — the API accepting
a field is not the field persisting. Acceptance is not persistence.The doc now records the failed experiment so nobody rebuilds it, and points at
a receipt-based design instead: validate the comment on
addCommentToJiraIssue(whose payload both carries the body and persists it),
write a local receipt, and require a recent valid receipt at transition time.
The credential-free opt-in idea survives intact. - A markdown string is rejected — "Operation value must be an Atlassian