OAuth 2.0 Setup - Create an Auth Provider
Create an Auth. Provider in Salesforce Setup (for more details on Salesforce Auth providers refer to AuthProvider ). This Auth. Provider will allow Salesforce users to authenticate to Jira using OAuth 2.0. Use the following parameters:
Provider Type: ZJiraOnPremAuthProvider
Name, URL Suffix, Provider Name: provide a unique name (all three should be the same)
Callback URL: https://<SALESFORCE-DOMAIN>/services/authcallback/<URL-SUFFIX>
Client Id: The Client Id of the previously created application link in Jira.
Client Secret: The Client Secret of the previously created application link in Jira.
Jira URL: The Jira Server / Data Center Base URL, this URL is used only to start the OAuth 2.0 Authentication flow.
Execute Registration As: Select the user creating the Auth. Provider entry.
Note: Execute Registration As is a Required Field for an Auth Provider. However it is not relevant for the zAgileConnect OAuth 2.0 setup.

After creating the Auth. Provider copy the Callback URL to the clipboard and go to Jira Administration → Applications → Application Links and edit the external incoming application link created before

Update the Redirect URL with the Callback URL copied above
