Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Add tags #20

Open
polarikus opened this issue Dec 26, 2020 · 0 comments
Open

Add tags #20

polarikus opened this issue Dec 26, 2020 · 0 comments

Comments

@polarikus
Copy link

polarikus commented Dec 26, 2020

Hello!
How i can add tags to ticket?

Zendesk::tickets()->update($id,[
            'priority' => $priority,
            'comment'  => [
                'body' => $text,
                'public' => false,
            ],
            'tags' => ['support_bot_update_priority']
        ]);

This delete all tags, and set one tag "support_bot_update_priority"
I try use

Zendesk::tickets()->update($id,[
            'priority' => $priority,
            'comment'  => [
                'body' => $text,
                'public' => false,
            ],
            '**additional_tags**' => ['support_bot_update_priority']
        ]);

it's not work((

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant