function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ginny MahantGinny Mahant 

Invoke Apex REST Webservice in Salesforce from JIRA

Hi All,

      We have done integration from Salesforce to external systems with REST callouts i.e. Salesforce makes request to Survery Monkey, JIRA via REST API when certain records are updated or button are clicking in Salesforce.
      This is the first time we are trying to do the opposite, wherein when a field in JIRA issue is updated, the value of that field needs to be updated in Salesforce. We have written an inbound Apex REST Webservice  in Salesforce and created webhooks in JIRA but are struggling with setting the Authorization header, don't know where and how to set it. Other than webhooks are there any ways to make callouts from JIRA to Salesforce.
P.S. For cost reasons we cannot use a connector. 

Please help.

Thanks & Regards,

     
GovindarajGovindaraj
Hi Ginny,

For this JIRA --> SF integration, We have exposed the inbound apex REST webservice using 'Public sites' in Salesforce.

Ref : http://www.wadewegner.com/2013/03/creating-anonymous-rest-apis-with-salesforce-com/

Please let us know, if this helps.

Thanks,
Govindaraj.S