how to Synch Salesforce with Jira behind the firewall

  • 1
  • Question
  • Updated 2 years ago
We are evaluating Salesforce & JIRA Server Connector Plugin - V6.0.4. The solutions provided to synch issues between Salesforce and Jira all work if Jira is not behind the firewall. Since this version V6.0.4 mentioned that this plugin is certified for both OnDemand and Behind the firewall, I was hoping to find a mechanism to synch without the firewall issues. Could you please point me to documentation which can help me with this. I would prefer to use Apex for REST APIs callouts
Photo of Sandeep

Sandeep

  • 3 Posts
  • 0 Reply Likes
  • stressed

Posted 2 years ago

  • 1
Photo of Vrajesh Sheth

Vrajesh Sheth

  • 19 Posts
  • 0 Reply Likes
Hi Sandeep, 

You can use Apex for sync between JIRA and Salesforce. You will need to add Salesforce IP addresses to your firewalls whitelist IP range. So that any request made by salesforce code won't be blocked.

Thanks
Photo of Sandeep

Sandeep

  • 3 Posts
  • 0 Reply Likes
Thanks Vrajesh. Will let you know how it goes.
Photo of Michael

Michael

  • 4 Posts
  • 0 Reply Likes
Hi, I am also evaluating, and it looks like a nice tool.
But I was stumbling over the same issue, and pinching holes into the firewall (for anyone, salesforce or not) is not a good solution, it's a workaround at maximum. Depending on your infrastructure security requirements it may not even be possible at all.

Is there a possibility to synchronise from JIRA in a "pull-mode" only, i.e. without pushing changes from salesforce side actively? I am aware that this does not allow near-real-time updates, but I value security higher than that.

thanks
Michael
Photo of Kheng Jin Leow

Kheng Jin Leow

  • 21 Posts
  • 0 Reply Likes
Hi Michael,

Yes, you can do so by pulling the changes manually from Salesforce.
In the issue, Click More > Manage Application Links > Pull Changes 

OR

Pushing the changes by using Synchronize Endpoint that you need to configure in Salesforce.

Thank you.

Best regards,
Kheng Jin, Leow
Photo of Michael

Michael

  • 4 Posts
  • 0 Reply Likes
Hi,

thanks for the fast response.

Yes, I saw that this is possible on a single issue.
But: How do I get the issues created in JIRA in the first place?

The scenario is: We create objects in Salesforce, and I want to have them mirrored into JIRA.
I have not seen a 'pull' way to achieve this, as the items are not created in JIRA without pushing them from SF.

From my point of view, there is a 'pull job' missing in JIRA that is looking for newly created objects on a regular time base.

best regards
Michael
Photo of Victor Law

Victor Law, Official Rep

  • 413 Posts
  • 22 Reply Likes
Hi Michael,
But: How do I get the issues created in JIRA in the first place?
JIRA issue creation can be done via the Issue Creation Endpoint URL as stated in this documentation.

Once a JIRA issue has been created via the Issue Creation Endpoint URL, the field values or Case Comment from Salesforce.com can be synchronize to JIRA via the Synchronization Endpoint URL as mentioned in this documentation.

Hope this help. :)

Regards,
Victor Law
Photo of Michael

Michael

  • 4 Posts
  • 0 Reply Likes
Not exactly. I was aware of the documentation, but the question was, whether there is an option (or you plan one) that can do that without opening the firewall and exposing JIRA to the world (or Salesforce servers at minimum), like polling from JIRA side for new items in Salesforce
Photo of Victor Law

Victor Law, Official Rep

  • 413 Posts
  • 22 Reply Likes
Hi Michael,

It is not possible for Salesforce.com to send API call or request to JIRA if JIRA instance has been blocked with firewall.

As mentioned in this documentation, the implementation with Salesforce.com Apex Class and Apex Trigger can be done only if and only if your JIRA instance is NOT behind a firewall.

Thank you.

Regards,
Victor Law
Photo of Michael

Michael

  • 4 Posts
  • 0 Reply Likes
Hi Victor,

maybe I could not express what I mean.
I am aware of course, that Salesforce cannot send anything to JIRA if it is locked behind a firewall, but this was not my point.

I was asking, whether there is an functionality that allows pulling the things from Salesforce from the JIRA side only, not only syncing single items, but also creating new ones.
I understand that the possibility is not given right now.
Maybe you can consider this functionality for your roadmap, for the sake of security for ones company's network infrastructure.

best regards
Michael
Photo of Victor Law

Victor Law, Official Rep

  • 413 Posts
  • 22 Reply Likes
Hi Michael,

As mentioned by Kheng Jin in the previous comment, synchronization from Salesforce.com to JIRA can be done by triggering the Pull Changes action. (Go to a JIRA issue >> Click on the More button >> Click on the Manage Application Links option >> Click the Pull Changes button in the page)

If you would like to create a new Salesforce.com record, it can be done by Create New Case from this Issue button in the Manage Application Links as mentioned above.

Thank you.

Regards,
Victor Law