最近搜索


没有最近搜索

Getaroom API's Avatar

Getaroom API

已加入2021年4月16日

·

最后活动2021年10月27日

关注

0

关注者

0

活动总数

2

投票

0

订阅

1

活动概览

的最新活动 Getaroom API

Getaroom API 进行了评论,

社区评论 Developer - Zendesk APIs

All of these answers seem to point to how to SET the value of a custom field despite the original question asking how to GET the value of a custom field. This is the closest forum I've found regarding the issue I have but it also looks like many moderator's comments have been redacted and URLs are no longer valid. As far as I can tell, the following approach seems like the most appropriate endpoint for the .get method of the ZAFClient initialized object.

client.get('ticketFields:custom_field_123456789').then(function(data) {
console.log(data);
}

yields:

{
hasOptions: boolean,
isEnabled: boolean,
isVisible: boolean,
label: "Name of Field",
name: "custom_field_123456789",
requireOnStatuses: Array [],
type: "regexp",
}
 

How do you get the actual value of the field? Is there another way to go about getting the value of a custom field and I'm just not seeing it in the docs?

查看评论 · 已于 2020年6月12日 发布 · Getaroom API

0

关注者

0

投票

0

评论