{
    "customfieldId": "customfield_11006",
    "isCustomFieldMissing": false,
    "name": "Assets Tracker - Asset Details",
    "fieldType": "STANDARD",
    "datasource": {
        "name": "AirTable - Assets Tracker - Assets",
        "category": "URL",
        "responseContentType": "JSON",
        "datasourceDefinitionId": "default:conf:25",
        "rootUrl": "https://api.airtable.com/v0/appCMxYaLqD7W0VjM"
    },
    "datasourceDefinitionId": "default:conf:25",
    "customFieldMissing": false,
    "editView": {
        "widgetType": "READONLY",
        "fieldRequestConfiguration": {
            "query": "Assets\n##To be updated based on the name of your table",
            "keyIndex": "0",
            "dateFormat": "TIMESTAMP_S",
            "jsonRootPath": "$.records[*].fields.[?(@.SerialNumber =='$issue.customfield_11004')]\n##Replace customfield_11004 by the id of your Impacted Asset field",
            "jsonColumns": [
                {
                    "name": "SerialNumber",
                    "path": "$.SerialNumber"
                },
                {
                    "name": "Status",
                    "path": "$.Status"
                },
                {
                    "name": "Asset Category",
                    "path": "$.ItemType"
                },
                {
                    "name": "Vendor",
                    "path": "$.Vendor"
                },
                {
                    "name": "MaintenanceSupplier",
                    "path": "$.MaintenanceSupplier"
                },
                {
                    "name": "EndMaintenanceDate",
                    "path": "$.EndMaintenanceDate"
                },
                {
                    "name": "ConditionNotes",
                    "path": "$.ConditionNotes"
                },
                {
                    "name": "photo",
                    "path": "$.Photo[0].url"
                }
            ]
        },
        "fieldWidgetConfiguration": {
            "isMultiple": false,
            "isDisplayUnique": false,
            "noResultLabel": "No results",
            "maxSuggestions": 100,
            "editFirstDisplay": false,
            "nbLinesDefault": 0,
            "autoSelectUnique": false,
            "autoSelectAll": false,
            "alphaSort": false,
            "isHtmlEscape": false,
            "hide": false,
            "templateConfiguration": {
                "displayTemplateMode": "CUSTOM",
                "displayTemplate": "<style>\r\n  .air-table-asset-desc {\r\n    color: #333;\r\n    margin: 10px;\r\n    margin-top: 0px;\r\n    border-left: 1px solid #333;\r\n    padding-left: 10px;\r\n  }\r\n  table.air-table-asset-main-table {\r\n    border: none;\r\n    margin-top: 20px;\r\n  }  \r\n  table.air-table-asset-main-table td {\r\n    vertical-align: top;\r\n  }\r\n  .air-table-asset-image {\r\n    max-width: 100px;\r\n    max-height: 110px;\r\n    margin-left: 10px;\r\n    margin-right: 20px;\r\n  }\r\n</style>\r\n<table class=\"air-table-asset-main-table\">\r\n  <tr>\r\n    <td>\r\n      <img src=\"{7}\" class=\"air-table-asset-image\"/>\r\n    </td>\r\n  </tr>\r\n</table>\r\n\r\n\r\n<table class=\"aui\">\r\n  <tbody>\r\n    <tr>\r\n      <td><strong>Status</strong></td>\r\n      <td>{1}</td>\r\n    </tr>\r\n    <tr>\r\n      <td><strong>Asset Category</strong></td>\r\n      <td>{2}</td>\r\n    </tr>\r\n    <tr>\r\n      <td><strong>Serial Number</strong></td>\r\n      <td>{0}</td>\r\n    </tr>\r\n    <tr>\r\n      <td><strong>Vendor</strong></td>\r\n      <td>{3}</td>\r\n    </tr>\r\n\t<tr>\r\n      <td><strong>Maintenance Supplier</strong></td>\r\n      <td>{4}</td>\r\n    </tr>\r\n\t<tr>\r\n      <td><strong>Maintenance End Date</strong></td>\r\n      <td>{5}</td>\r\n    </tr>\r\n\t<tr>\r\n      <td><strong>Condition Details</strong></td>\r\n      <td>{6}</td>\r\n    </tr>\r\n  </tbody>\r\n</table>"
            }
        }
    },
    "displayView": {},
    "advancedView": {
        "debuggerActive": false,
        "cacheActive": true,
        "cacheDuration": 10000,
        "bypassJqlSecurity": false,
        "createMetaCompatibilityActive": false
    }
}