如何通过 Workfront REST post 自定义字段到 Workfront API
How can I post the custom field to Workfront through workfront REST API
在 Workfront 中,我们要为问题创建自定义表单(自定义字段)。我如何使用 Workfront REST API 执行 POST 请求并在自定义表单中为 Workfront 中的该问题创建自定义字段?
你POST和系统字段一样。只需在字段名称前加上 DE:。
attask/api-internal//user/xxxxxxxxx?DE:foo=bar
以上设置字段'foo'为字符串'bar'.
如果自定义字段不在对象上(不在已附加的自定义表单上),那么您首先需要附加一个。
attask/api-internal/user/xxxxxxxxxx?updates={objectCategories:[{categoryID:`"customformUUID`",categoryOrder:0,objCode:`"CTGY`"}]}
在 Workfront 中,我们要为问题创建自定义表单(自定义字段)。我如何使用 Workfront REST API 执行 POST 请求并在自定义表单中为 Workfront 中的该问题创建自定义字段?
你POST和系统字段一样。只需在字段名称前加上 DE:。
attask/api-internal//user/xxxxxxxxx?DE:foo=bar
以上设置字段'foo'为字符串'bar'.
如果自定义字段不在对象上(不在已附加的自定义表单上),那么您首先需要附加一个。
attask/api-internal/user/xxxxxxxxxx?updates={objectCategories:[{categoryID:`"customformUUID`",categoryOrder:0,objCode:`"CTGY`"}]}