Part II - The Setup
In the last post we saw a brief introduction about Jira and also listed few scenarios where Salesforce-Jira integration is required.
In this post we will see the preliminary set up required to start with the integration in Salesforce. In Salesforce we can do integration to other applications/services programmatically using Apex Callouts.
Apex Callouts are of two types:
- Web service callouts to SOAP web services that use XML as a medium of transportation and requires a WSDL (Web Services Definition Language) for code generation.
Remote Site Settings
Salesforce is very particular about security and hence you cannot have a code calling out randomly to any unknown endpoint without prior approval. Therefore to start with the callout you first need to update the list of approved sites for your org on the Remote Site Settings page using the following steps.
- From Setup, enter Remote Site Settings in the Quick Find box, then click Remote Site Settings.
- Click New Remote Site.
- For the remote site name, enter any name of your choice.
- For the remote site URL, enter
https://organization-domain-name.atlassian.net. I will be using my own Jira domain URL:
- Enter some relevant Description
- Click Save.
Once the site is saved we are now ready to make a callout to the external service. Coming up next is some coding stuff.