After applying the API access token on the Salesforce package, an "Unknown error! Please contact your administrator" message appears even though the Connection seems to be successfully established:


  • Jira server

  • Connector for Salesforce & Jira (server) any version

Diagnostics Steps

You can use the following Apex code to check the connectivity from Salesforce to Jira:

Http http = new Http();
HttpRequest req = new HttpRequest();
req.setEndpoint('<JIRA URL>');
HttpResponse response = http.send(req);
System.debug('STATUS: ' + response.getStatusCode());
System.debug('BODY: ' + response.getBody());

(warning) Replace <JIRA URL> with your Jira's base URL.

You can run the code by going to Salesforce > Developer Console > Debug > Execute Anonymous Window. Once you hit execute you'll be directed to the results.


This is usually caused by a connectivity issue between the Salesforce site and your Jira server instance.

Something might be blocking the connection (e.g. firewall, proxy, security software, or even redirections configured on Jira like SSO).

Here is an example of a proxy connectivity issue:


Not applicable.


You may need to work with the IT team in your company to allow the Salesforce package to access your Jira server instance through the Internet and fix the connectivity issue.