You need to sign in to do that
Don't have an account?
sftechlearner
Salesforce - JIRA connector
Hi ,
Can anyone make recommendations of the tools available to connect Salesforce and JIRA?( This is to integrate Salesforce.com cases and JIRA issues)
Thanks in advance!!!
Go to this appexchange link and search for JIRA
https://appexchange.salesforce.com/
You could also search in google for other Salesforce to JIRA connectors.
If you would like to develop your own integration between, there is the Salesforce API, which JIRA can use to connect.
SOAP API: http://www.salesforce.com/us/developer/docs/api/index.htm
REST API: http://www.salesforce.com/us/developer/docs/api_rest/
Before developing the integration yourself, i would recommend checking in the AppExchange or google to see if there are existing apps. In case they dont meet your requirements, you can then go about creating your own integration.
Hope this helps!
Regards,
Satish Kumar
Please mark my answer as a solution if it was helpful so it is available to others as a proper solution.
If you felt I went above and beyond, please give me Kudos by clicking on the star icon.
We used ServiceRocket (was Customware's) JIRA / SF connector with success. Works OK if you want to connect cases to JIRA issues but there are limitations. Great thing about the Atlassian tools is you can get evaluation licenses to try it out. Just be warned that once you get started you might get addicted...
Even i am trying to integrate Salesforce to JIRA and JIRA to Salesforce using REST API. But i am not finding much information on how to consume a service in JIRA to create issue from a Salesforce REST API.
Can you pls provide some insights and any useful info that you have.
You can use the below code to get the JSON response from Jira REST URL
Refer here (https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis) to form the REST url. Sample url would look like http://localhost:2990/jira/rest/api/2/issue/10009. Instead of localhost it should be domain name your organization has choosen for Jira.
Then you need to parse the JSON response. Loop through it as shown below and deserialize it (parserJira.readValueAs(issue.class)).
issue is a class version of the JSON. E.g if the json structure that is returned is of the form {issue:{field1:val1,field2:val2}}; then the class would be,
For nested json structure the class structure too have to be created accordingly. Once the json response is deserialized you can access the values with dot notation on the class object as usual:
Let me know if you need more information. Thanks
Muralidhar - Thank you for the code Snippet. But how do you handle the Authentication? Are you passing the user:pass, or using Oauth?
I have passed the credentials in the JIRA REST URL. I tried using the OAuth but was not able to authenticate for which I have posted a question on the forums as well. The same encrypted credentials and protocol was however working when used with Postman client in Chrome browser.
Hi Muralidhar,
I wrote the REST API for this but the "res.getBody()" method is returning <!doctype html>.
I'm in fix can you please help me out and also wanted to know if we need to make any changes in our JIRA org ?
Thanks
Rahul Kumar
Have you checked the response for the URL by hitting the same in the browser because getBody() function simply fetches the body of the HTML response. So if it is coming as <!doctype html> then indeed the response of the url you are hitting should be sending the html response. Please check and post the response here if possible else share the url if it open. Thanks
I tried to get the data of Comments field to salesforce from Jira but data is not synchronising,can you send the code snippet to sync the Comment to salesforce.
Hi Muralidhar,
I am unable to Update an Issue in Jira from Salesforce,came across such error
|USER_DEBUG|[48]|DEBUG|ResponseJsonString System.HttpResponse[Status=Bad Request, StatusCode=400].Can you help me out..!!
Thanks
Uday
I haven't tried fetching the comments from JIRA, but herewith sharing the Jira documentation for the same
https://docs.atlassian.com/jira/REST/latest/#api/2/comment/{commentId}/properties-getPropertiesKeys
@Uday raj
As per the documentaion StatusCode 400 is returned if the comment key or id is invalid
I have written a series of blog posts for Salesforce-Jira integration. Sharing the same here so that if someone lands up here then he/she might find some help. Do let me know if you have any suggestions/feedback. Thanks
https://inteygrate.com/salesforce-jira-integration/ (https://inteygrate.com/salesforce-jira-integration/" target="_blank)
I did the salesforce to JIRA Integration using Rest Api.
How to pull the Opportunity related list are "partners, competitors and notes" from salesforce to JIRA?
Do you sample code for this?
Thanks,
Kumar
There is an Awesome app on appexchange for Integration called " ActionHub". It just not Integrate JIRA With salesforce. but also integrate other platforms too. check this out.
https://appexchange.salesforce.com/results?keywords=actionHub
I'm trying to integrate certain SFDC case fields into crresponding Jira issue fields. My instance of Salesforce has a "Create Jira Issue" button, but it has no functionality. I'm attempting to add functionality so that when the button is pressed, the SFDC "Case Synopsis" gets copied into the Jira "Description" field, the SFDC "Subject" gets copied into the Jira "Title" field, the Jira "Ticket Number" gets copied into the SFDC "Bug Number", and the SFDC "Bug Status" is updated whenever the Jira "Status" gets updated. I want to use the Salesforce REST API but am very new to this and a little lost.
Any help is greatly appreciated.
- Salesforce Jira integration (https://www.forceoft.com/projects/salesforce-jira-integration/)
- Sage Salesforce Integration with Jira (https://www.forceoft.com/projects/sage-salesforce-integration-jira/)
For Salesforce Jira integration, pre-built solution like connectors help a lot. They offer faster deployment which increases productivity. Companies like DBSync provide Salesforce Jira integration solution and implemented such solution to a number of clients successfully. You can find resources to know more about the solution here:
Salesforce - Jira Integration ( https://www.mydbsync.com/product/jira )
also Peeklogic Jira Connector (https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FMdJ7UAL) has apps on both sides - on AppExchagne and on Atlassian, which makes it real time and 2-way.