diff --git a/examples/edit_issue.php b/examples/edit_issue.php index a8af729..ef5341b 100644 --- a/examples/edit_issue.php +++ b/examples/edit_issue.php @@ -2,8 +2,20 @@ require dirname(__FILE__) ."/common.php"; $api = getApiClient(); + +$updObj = new stdClass(); +$updObj->customfield_10401 = [ + ['set' => 'Value here'] +]; + +$r = $api->editIssue($key, [ + "update" => $updObj +]); + +/* $api->editIssue($key, array( "fields" => array( "" => "Value" ), )); +*/