Salesforce: "Insufficient Privileges" Error on Connector Visualforce Page
When viewing the connector's Visualforce page in Salesforce, you see this error message:
Jira Data Center
There are two reasons as to why this issue occurs:
When installing the Connector for Salesforce & Jira package, the Admin Only option was selected.
The Apex Classes for users to view and interact with Visualforce pages were not enabled.
Reinstalling Connector for Salesforce & Jira
Go to Setup > search for Installed Packages.
Reinstall the Connector for Salesforce & Jira package.
Follow the installation steps mentioned in our Installing the Salesforce Package in Salesforce guide.
Note: Choose the Install for All Users option.
Enabling the Apex Class Access
Identify the users who are unable to view the Create Jira Issues and Associate buttons.
In Salesforce, go to Setup > Users > Profiles > click on the affected users' profile.
Search for and edit Enabled Apex Class Access.
Add the Apex Class according to the Jira environment below:
For Jira Cloud, add all the JCFS classes to the Enabled Apex Classes column.
For Jira Server, add all the JSFS classes to the Enabled Apex Classes column.