-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
0
-
There is no documentation on how to use or reference Assets (Insight) custom fields in the JSM REST API, for example, it's possible to set a value for an Asstets custom field but this is completely undocumented e.g.
curl -D- -u 'admin:sphere' -X POST -H 'Content-Type: application/json' --data ' { "serviceDeskId": "1", "requestTypeId": "1", "requestFieldValues": { "summary": "HELP ME", "customfield_10123" :[{"key" : "KEY-1"}] } }' '<JIRA BASE URL>/rest/servicedeskapi/request'
One more thing to note here is that it is possible to set the value to "AUTOMATIC-ASSIGN" (instead of the object key "KEY-1") and will trigger the Filter Assign Scope, allowing a dynamic value to be set in the custom field.
Form Name |
---|
[JSDSERVER-12352] Add Assets (Insight) custom field formats, reference and usage in the JSM REST API docs
UIS | Original: 1 | New: 0 |
UIS | New: 1 |
Component/s | Original: docs [ 48290 ] | |
Component/s | New: Documentation & IX [ 32991 ] | |
Key | Original: ADOC-44012 | New: JSDSERVER-12352 |
Workflow | Original: Software Simplified Workflow for Project ADOC v3 [ 4321504 ] | New: JAC Suggestion Workflow 3 [ 4321510 ] |
Issue Type | Original: Feedback [ 29 ] | New: Suggestion [ 10000 ] |
Priority | Original: Low [ 4 ] | |
Project | Original: Atlassian Documentation [ 18711 ] | New: Jira Service Management Server and Data Center [ 15611 ] |
Status | Original: To Do [ 10071 ] | New: Gathering Interest [ 11772 ] |