Open jlariza opened 2 years ago
I created this PR to add this feature https://github.com/strakers/zendesk-drupal-webform/pull/48
Hi @jlariza, thanks for this contribution. Before accepting, I'm going to run a couple tests to verify that the unique interactions of Zendesk groups and assignees play nicely together. Once this passes, I'll accept the pull request. Thanks again!
@strakers any news about this feature?
Good day,
Right now, we may only select an agent as the assignee of the ticket. However, Zendesk allows to set whole groups as the assignees.
Ideally, the handler configuration should list and allow the group to be used as the assignee along with the agent.
Right now, the only alternative would be to select one of the group's agent as the assignee but this is not ideal considering that if there are a lot of tickets, that agent may be overwhelmed.
I tried extending the current functionality, editing
src/Plugin/WebformHandler/ZendeskHandler.php:160
withit list the groups properly. However, when sending the ticket to zendesk, the API response message is
422 Unprocessable Entity:Assignee: is not a member of the group
this is the whole message received bysrc/Plugin/WebformHandler/ZendeskHandler.php:604
Thank you,