Make REST call into SFDC

Juno Guy I'm New Here Nov 14, 2017

Apologies up front for what seems like a basic question....

I have what seems like a pretty generic need but having a very minimal developer background I am struggling to understand (but willing to take a shot) where in my instance of JIRA Cloud do I start?  I don't want to use a 3rd party connector for this as it seems to be an overkill and costly for what seems like a "basic" thing.  

I want to sync over from our instance of JIRA Cloud to SFDC via REST the value of 1 field in each issue/ticket into a specific custom object within our prod SFDC.  The trigger from JIRA to SFDC should be based upon the JIRA status field once it has been changed to "Close".    

I can make REST calls into JIRA not problem but not sure how to get our instance to POST a value based on a condition into SFDC.    

Does anyone have a pointer and sample?


1 answer

1 accepted

1 vote
Alexey Matveev Community Champion Nov 14, 2017


I guess you need to use Webhooks. Webhooks are user-defined HTTP POST callbacks. You can define events in Jira on which a webhook will be triggered. You can add a post function, which will trigger a webhook, to a transition if you need the webhook to be triggered on a specific transition. In the webhook you can pass parameters to the external receiver. If these parameters are not enough, you could pass an issue id and the external receiver would make a call to Jira to get all the required parameters for the issue.

You can read more about webhooks here

and here

And if you wonder what your external receiver is: This is some REST endpoint you would have to create yourself which does your POST into SFDC.

I'd recommend using sth like AWS Lambda for this. There you don't have to maintain a server, you simply can enter your code and make it accessible via a REST endpoint (API Gateway).

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

504 views 1 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you