We have a requirement to integrate JIRA cloud with Salesforce org. I am trying to use applinks feature from JIRA to connect with Salesforce. In Salesforce we have a connected App that has " Client Credential flow enabled". While trying to test the connection using " Go to Remote " on the application link in JIRA we are challenged with Salesforce login with credentials. The idea is to use Client credentials from Salesforce to directly authenticate from JIRA side. Any ideas or suggestions will be useful.
Please note we are not planning on using any connectors/Plugins.
I suggest you search the Jira section of the public Community Forum, where you’ll find the same question about “How can we build an integration between Jira and SalesForce” comes up once a month or so (I’m convinced it’s the same homework assignment that is regularly given out to students studying the same Information Technology course, or the same skills test being given out to interns at the same company).
The answer is invariably the same… you have a massive, complex undertaking ahead of you, since you have chosen to take the most difficult path by trying to build a complete custom integration solution yourself, and your organisation is much, much, MUCH better off buying a pre-built solution from a vendor via the Atlassian Marketplace.
Thank you for the response. Our organization is not ready to invest into any plugins. Moreover, I am a Salesforce developer with very minimal knowledge on how the dev tools on Atlassian works. I am trying my best to see if this requirement can be achieved with out of box integration tools from Atlassian.
AppLinks are also known as OAuth 1.0a and the docs for that indicate:
OAuth 1.0a is a deprecated authentication protocol and should not be used.
For new Jira Cloud integrations, you should use one of the recommended alternatives listed below. Additionally, if you have existing services that integrate with Jira Cloud using OAuth 1.0, you should look to replace it with one of the recommended authentication approaches listed:
Forge apps and Connect apps use more secure methods for authentication: OAuth 2.0 and JWT respectively. In addition, authentication is built into the app frameworks, so you don’t need to configure it. See Security for Forge apps and Security for Connect apps.
For Salesforce developers, you’ll find OAuth 2.0 is sufficient for reaching out from Salesforce code or automation to make API requests. Both Connect & Forge would shift you to building on top of the Atlassian platform instead. While that might be a drawback from what you know best, Connect & Forge are sometimes the best option anyway.
In short, I agree with @sunnyape about the effort ahead. However, if you do insist on building, then do anything but AppLinks.
In addition to what @ibuchanan has said @Swaathy , when you do complete the task and build the custom integration yourself, perhaps you could post an in-depth article in the public Atlassian Jira Community on how to do it.
This would solve the problem for all those people who go there asking the same question, such as this thread where someone is asking the question right now.
We have already achieved one part of the Bi-directional integration. Our use case is to create a JIRA whenever a new case is created in Salesforce for a particular record type. when there are updates on JIRA# our goal is push those changes through platform events(Which acts as PUB SUB) in Salesforce(through connected App in Salesforce). The Salesforce to JIRA integration is complete and is fully functional. Whereas, to achieve the later we are facing issues while trying to authenticate Jira from Salesforce side.Hope this explains our request.