Subject: | update_issue only supports fields/set form, not the verb form |
The update_issue method takes the supplied $update_hash and wraps it with { fields => $update_hash } so only simple updates can be performed. The docs don't make that clear.
The transition_issue method is also documented as taking a $update_hash but that reference is not wrapped, so the verb form of update can be used but that's a very different kind of $update_hash than the one that the update_issue method takes.
The docs don't make this distinction clear.
Also the example in https://metacpan.org/pod/JIRA::Client::Automated#JIRA-ISSUE-HASH-FORMAT isn't a valid hash, it has three elements.