I am working on Salesforce Jira integration. I am able to create issues from jira. If I attach any document to the Jira issues, I would like to save it in the salesforce attachments as well. I am not able to get a proper solution.
Yes you can do that using REST API using the following end point.
Endpoint: GET /rest/api/3/issue/KEY-123
In the JSON you will find an attachment section. How are you doing the integration to salesforce? using your own code or interface? If yes then yes you can access the attachments using the end point above and move the files to another system. I also covered this example here in case you want to see it in action.
I hope it helps.
Ravi
@Ravi Sagar _Sparxsys_ Thanks for the post. I am integrating with my own code. I tried to access the content URL but the response returns only this [Status=Found, StatusCode=302]. Response body returns nothing I would like to know if I am missing anything.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Feroz Basha S The same thing is happening when i am trying to upload file from salesforce apex to jira, i am getting status as 200 but the response body as null /blank. what could be the reason
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A bit late here but have you considered using an external solution to help you make the integration? If so, may I make a proposition? I'm Diana - a solutions architect at ZigiWave. Our no-code integration platform ZigOps will help you connect Jira & Salesforce in a matter of minutes. It allows the transfer of default and custom fields between the systems and syncs them in real-time. Our tool reads the schema dynamically and can transfer any field. If you want to see how it works in action: book a technical demo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are looking for the solution as well, with benefits like:
Map any project, Map Jira fields, Link Multi Jira's with salesforce record, Push comments, attachment bidirectional, Bi-directional updates , Reporting try the third party integration tool.
I hope it helps!
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.