Custom field com.atlassian.jira.plugins.cmdb:cmdb-object-cftype

Hi team,
A form has cmdb fiel type like

"jiraSchema": {
                "type": "array",
                "items": "cmdb-object-field",
                "custom": "com.atlassian.jira.plugins.cmdb:cmdb-object-cftype",
                "customId": 11022
            },

What kind of field type is it? Is it an array of string that user can input randomly?
Thanks

Just digging into this as well. Not sure where you are seeing this but I’ve seen com.atlassian.jira.plugins.cmdb:cmdb-object-cftype in the API for Jira as a means to communicate with Insight.

I’ve not see it in this format but this sort of works as an import…

{
  "projects": [
    {
      "key": "PROJ",
      "issues": [
        {
          "priority": "Medium",
          "issueType": "Story",
          "description": "Some description here\nMaybe _italics_ or *bold*?\n# List item 1\n# List item 2\n## sublist 1\n\nA double return needed to escape",
          "labels": [
            "label1",
            "label2"
          ],
          "customFieldValues": [
            {
              "fieldName": "customfield_10921",
              "fieldType": "com.atlassian.jira.plugins.cmdb:cmdb-object-cftype",
              "value": "0b8fa9d3-75e3-41f0-a99a-41f51232c24:212349"
            },
            {
              "fieldName": "Sprint",
              "fieldType": "com.pyxis.greenhopper.jira:gh-sprint",
              "value": 193
            },
            {
              "fieldName": "Story Points",
              "fieldType": "com.atlassian.jira.plugin.system.customfieldtypes:float",
              "value": "5"
            },
            {
              "fieldName": "Epic Link",
              "fieldType": "com.pyxis.greenhopper.jira:gh-epic-link",
              "value": "EPIC-33"
            }
          ],
          "summary": "Story Title"
        }
      ]
    }
  ]
}

Where:
‘key’ is the project name,
‘customfield_10945’ is the name of my Insight custom field,
‘0b8fa9d3-75e3-41f0-a99a-41f51232c24’ is my Insight Object Type identifier,
‘212349’ is my key on the object
‘summary’ is the name of the ticket I’m importing

This ‘sort of’ works as an import into Jira as a story. I’ve not yet figured out how to get it so that this is a linked issue and the documentation is a bit poor.

I would suspect that if you go to the Jira API for a ticket you will see customfield rendered: customfield_11022

https://YOUR-JSM-INSTANCE/rest/api/2/issue/TICKET-ID

These custom fields are set in Jira, under the gear icon in the top > Issues > Custom Fields

This customfield is when you want to map Assets to your Jira tickets.

For e.g. If you choose to link an Asset to your Jira issue from Jira’s own Asset management tool (CMDB), you will have to create a custom field of “Asset” type and map it to an Object schema. (Object schema is like a parent to objects. Object schema → Object type → Object that’s the hierarchy.)