Subject: | Asignee |
Please include an example in the documentation of how to update the assignee.
I tried:
$jira->update_issue($key, { assignee => $username });
But that gives a cryptic message:
Unable to PUT /rest/api/latest/issue/SYS-191299: 400 Bad Request {"errorMessages":[],"errors":{"assignee":"data was not an object"}} (for request: {"fields":{"assignee":"hornenj"}}) at ./battery-learn line 37.
I guess I need to tell it that assignee is a "field", but I can't work out how from your documentation.