{
"customfieldId": "customfield_11000",
"isCustomFieldMissing": false,
"name": "Salesforce - Contact opportunities",
"fieldType": "STANDARD",
"datasource": {
"name": "Salesforce",
"category": "SALESFORCE",
"responseContentType": "OTHER",
"datasourceDefinitionId": "default:conf:20"
},
"datasourceDefinitionId": "default:conf:20",
"customFieldMissing": false,
"editView": {
"widgetType": "READONLY",
"fieldRequestConfiguration": {
"query": "#if(!$issue.customfield_11001 || $issue.customfield_11001.length() == 0)\n $query.abort()\n#end\nSelect\n Opportunity.Id,\n Opportunity.Name,\n Opportunity.Amount\nFrom\n Opportunity,\n Opportunity.Account\nWHERE\n Account.Id = '$issue.customfield_11001'",
"keyIndex": "0",
"dateFormat": "TIMESTAMP_S",
"jsonColumns": []
},
"fieldWidgetConfiguration": {
"isMultiple": true,
"isDisplayUnique": false,
"noResultLabel": "Select a contact first",
"maxSuggestions": 1500,
"editFirstDisplay": false,
"nbLinesDefault": 0,
"autoSelectUnique": false,
"autoSelectAll": false,
"alphaSort": false,
"templateConfiguration": {
"displayTemplateMode": "TABLE",
"tableDisplayTemplate": [
{
"name": "Amount",
"template": "${Amount}"
},
{
"name": "Name",
"template": "\n{Name}"
}
]
}
}
},
"displayView": {
"issueView": {
"fieldRequestConfiguration": {
"query": "## customfield_11001 is the ID of the \"Salesforce Account\" Connect field\nSelect\n Opportunity.Name,\n Opportunity.Amount,\n Opportunity.StageName\nFrom\n Opportunity,\n Opportunity.Account\nWHERE\n Account.Id = '$issue.customfield_11001'",
"keyIndex": "0",
"dateFormat": "TIMESTAMP_S",
"jsonColumns": []
},
"templateConfiguration": {
"displayTemplateMode": "TABLE",
"tableDisplayTemplate": [
{
"name": "Name",
"template": "\n{Name}"
},
{
"name": "Amount",
"template": "${Amount}"
},
{
"name": "Stage",
"template": "{StageName}"
}
],
"displayValueNotFound": "{currentCustomfieldValue}"
},
"maxSuggestions": 1500,
"isDisplayUnique": false
}
},
"advancedView": {
"debuggerActive": false,
"cacheActive": true,
"cacheDuration": 600000,
"bypassJqlSecurity": false
}
}