Add Assets (Insight) custom field formats, reference and usage in the JSM REST API docs

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Documentation & IX
    • None
    • 0
    • 3

      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.

            Assignee:
            Unassigned
            Reporter:
            Jarrod Price (Inactive)
            Votes:
            10 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: