{
    "customfieldId": "customfield_11103",
    "isCustomFieldMissing": false,
    "name": "Hubspot - Deal details",
    "fieldType": "STANDARD",
    "datasource": {
        "name": "Hubspot",
        "category": "URL",
        "responseContentType": "JSON",
        "datasourceDefinitionId": "default:conf:17",
        "rootUrl": "https://api.hubapi.com"
    },
    "datasourceDefinitionId": "default:conf:17",
    "customFieldMissing": false,
    "editView": {
        "widgetType": "READONLY",
        "fieldRequestConfiguration": {
            "query": "#if(!$issue.customfield_10810 || $issue.customfield_10810.length() == 0)\n  $query.abort()\n#end\ndeals/v1/deal/$issue.customfield_10810?hapikey=cc7e90b1-f762-405d-8b63-8e1a754060e8&includeAssociations=true&limit=10&properties=dealname",
            "keyIndex": "0",
            "dateFormat": "TIMESTAMP_S",
            "jsonRootPath": "",
            "jsonColumns": [
                {
                    "name": "id",
                    "path": "$.dealId"
                },
                {
                    "name": "name",
                    "path": "$.properties.dealname.value"
                },
                {
                    "name": "amount",
                    "path": "$.properties.amount.value"
                },
                {
                    "name": "dealstage",
                    "path": "$.properties.dealstage.value"
                }
            ]
        },
        "fieldWidgetConfiguration": {
            "isMultiple": false,
            "isDisplayUnique": false,
            "noResultLabel": "No results",
            "maxSuggestions": 1500,
            "editFirstDisplay": false,
            "nbLinesDefault": 0,
            "autoSelectUnique": false,
            "autoSelectAll": false,
            "alphaSort": true,
            "isHtmlEscape": false,
            "hide": false,
            "templateConfiguration": {
                "displayTemplateMode": "CUSTOM",
                "displayTemplate": "<table class=\"aui\">\n  <tbody>\n    <tr>\n      <td><strong>Name</strong></td>\n      <td>{name}</td>\n    </tr>\n    <tr>\n      <td><strong>Amount</strong></td>\n      <td>${amount}</td>\n    </tr>\n    <tr>\n      <td><strong>Stage</strong></td>\n      <td><span class=\"aui-lozenge aui-lozenge-current\">{dealstage}</span></td>\n    </tr>\n  </tbody>\n</table>"
            }
        }
    },
    "displayView": {
        "issueView": {
            "maxSuggestions": 1500,
            "isDisplayUnique": false
        }
    },
    "advancedView": {
        "debuggerActive": false,
        "cacheActive": true,
        "cacheDuration": 86400000,
        "bypassJqlSecurity": false,
        "createMetaCompatibilityActive": false
    }
}