Repository navigation
|
Hello, Could someone post a small example of how to update a custom field for an issue? Thank you. |
Answered by
Art4
Mar 1, 2022
Replies: 1 comment 1 reply
|
You can find an example in the docs: https://github.com/kbsali/php-redmine-api/blob/v2.x/docs/usage.md $client->getApi('issue')->update($issueId, [
'custom_fields' => [
[
'id' => 2,
'name' => 'Issuer',
'value' => $issuer,
],
[
'id' => 5,
'name' => 'Phone',
'value' => $phone,
],
[
'id' => '8',
'name' => 'Email',
'value' => $email,
],
],
]); |
1 reply
Answer selected by
Art4
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can find an example in the docs: https://github.com/kbsali/php-redmine-api/blob/v2.x/docs/usage.md