Skip to content

Updating an issues custom field #273

Answered by Art4
jcatrysse asked this question in Q&A
Discussion options

You must be logged in to vote

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,
        ],
    ],
]);

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jcatrysse
Comment options

Answer selected by Art4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants