Recent searches


No recent searches

Olve Auråker's Avatar

Olve Auråker

Joined May 28, 2021

·

Last activity Nov 10, 2021

Following

0

Followers

0

Total activity

6

Vote

1

Subscriptions

2

ACTIVITY OVERVIEW

Latest activity by Olve Auråker

Olve Auråker commented,

Community comment Developer - Zendesk APIs

The only place I have seen multiselect referenced is here: Ticket Fields | Zendesk Developer Docs

BUT you seem to be completely right, it does work using custom_fields, I was just not able to figure out how to get multiple values parsed correctly using PowerShell.

I was trying to construct the array as a string and input that, instead of inputting the array object directly. Well, actually I had tried that earlier, but forgot to match the values to the field tag values instead of the display value which had a capital letter.
So adding a ".ToLower()" at the end of the array variable was all it took.

Thanks for getting me back on track!

View comment · Posted Nov 10, 2021 · Olve Auråker

0

Followers

0

Votes

0

Comments


Olve Auråker created a post,

Post Developer - Zendesk APIs

Hi,

I'm trying to create a ticket via /api/v2/requests, using a specific form which has a multi-select dropdown field.

So far I've not been able to figure out how I can insert values into this field.
I've tried with (following the docs):

"custom_field_options": [
{"name": "Displayname of field", "value": "tag value"},
{"name": "Displayname of field", "value": "tag value2"}
]
"ticket_field": {
"custom_field_options": [
{"name": "Displayname of field", "value": "tag value"},
{"name": "Displayname of field", "value": "tag value2"}
]
}

Any ideas?

Edited Nov 09, 2021 · Olve Auråker

0

Followers

3

Votes

3

Comments


Olve Auråker commented,

Community comment Developer - Zendesk APIs

@..., were you able to create a ticket through the request API using an OAuth token on behalf of a user using their email address?

Edit. Never mind, I managed it about 30 seconds after posting :)

{
"request": {
"subject": "Test",
"comment": { "body": "Some question" },
"requester": {"email": "customer@example.com"}
}
}

View comment · Posted Mar 22, 2021 · Olve Auråker

0

Followers

0

Votes

0

Comments