最近の検索


最近の検索はありません

Olve Auråker's Avatar

Olve Auråker

参加日2021年5月28日

·

前回のアクティビティ2021年11月10日

フォロー中

0

フォロワー

0

合計アクティビティ

6

投票

1

受信登録

2

アクティビティの概要

さんの最近のアクティビティ Olve Auråker

Olve Auråkerさんがコメントを作成しました:

コミュニティのコメント 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!

コメントを表示 · 投稿日時:2021年11月10日 · Olve Auråker

0

フォロワー

0

投票

0

コメント


Olve Auråkerさんが投稿を作成しました:

投稿 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?

編集日時:2021年11月09日 · Olve Auråker

0

フォロワー

3

投票

3

コメント


Olve Auråkerさんがコメントを作成しました:

コミュニティのコメント 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"}
}
}

コメントを表示 · 投稿日時:2021年3月22日 · Olve Auråker

0

フォロワー

0

投票

0

コメント