{
    "customfieldId": "customfield_11001",
    "isCustomFieldMissing": false,
    "name": "Salesforce - Account",
    "fieldType": "STANDARD",
    "datasource": {
        "name": "Salesforce",
        "category": "SALESFORCE",
        "responseContentType": "OTHER",
        "datasourceDefinitionId": "default:conf:20"
    },
    "datasourceDefinitionId": "default:conf:20",
    "customFieldMissing": false,
    "editView": {
        "widgetType": "READONLY",
        "fieldRequestConfiguration": {
            "query": "## customfield_10901 is the ID of the \"Salesforce Contact\" Connect field\n#if(!$issue.customfield_10901 || $issue.customfield_10901.length() == 0)\n  $query.abort()\n#end\nSELECT\n    Account.id,\n    Account.name\nFROM\n    Contact\nWHERE\n    Id = '$issue.customfield_10901'",
            "keyIndex": "0",
            "dateFormat": "TIMESTAMP_S",
            "jsonColumns": []
        },
        "fieldWidgetConfiguration": {
            "isMultiple": false,
            "isDisplayUnique": false,
            "noResultLabel": "Select a contact first",
            "maxSuggestions": 1500,
            "editFirstDisplay": false,
            "nbLinesDefault": 0,
            "autoSelectUnique": false,
            "autoSelectAll": false,
            "alphaSort": false,
            "templateConfiguration": {
                "displayTemplateMode": "CUSTOM",
                "displayTemplate": "<!-- Change the URL to your own Salesforce instance address -->\n<a href=\"https://eu17.lightning.force.com/lightning/r/Account/{Account.Id}/view\" target=\"_blank\">{Account.Name}</a>"
            }
        }
    },
    "displayView": {
        "issueView": {
            "fieldRequestConfiguration": {
                "query": "SELECT\n    Id,\n    Name\nFROM\n    Account\nWHERE\n    Id = '$currentCustomfieldValue'",
                "keyIndex": "0",
                "dateFormat": "TIMESTAMP_S",
                "jsonColumns": []
            },
            "templateConfiguration": {
                "displayTemplate": "<a href=\"https://eu17.lightning.force.com/lightning/r/Account/{Id}/view\" target=\"_blank\">{Name}</a>",
                "displayValueNotFound": "{currentCustomfieldValue}"
            },
            "maxSuggestions": 1500,
            "isDisplayUnique": false
        },
        "statisticsView": {
            "templateConfiguration": {
                "displayTemplate": "{Name}",
                "displayValueNotFound": "{currentCustomfieldValue}"
            }
        }
    },
    "advancedView": {
        "debuggerActive": false,
        "cacheActive": true,
        "cacheDuration": 600000,
        "bypassJqlSecurity": false
    }
}