-
Hello, Could someone post a small example of how to update a custom field for an issue? Thank you. |
Beta Was this translation helpful? Give feedback.
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,
],
],
]); |
Beta Was this translation helpful? Give feedback.
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