Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Salesforce integration with OpsGenie

Hi all

I have gone through this for an SFDC integration.

For the point stating "When the case's state is changed to Working in Salesforce Service Cloud, the corresponding alert is acknowledged in Opsgenie." - is there a way to customize that? I.e. the SFDC system has been used for years with specific Statuses ... but Working has not been one of them.

How can we customize the integration so we can define our status or set of statuses to acknoledge the alert?

Thank you

2 answers

1 vote
Nick H Atlassian Team Jul 08, 2021

Hi @Yatish Madhav ,

By default the integration is configured to ack the alert when the "Working" status is sent from SFDC >> Opsgenie.

If you are subscribed to Opsgenie's Standard or Enterprise plan, you can edit what status, or actions, acknowledge an alert under the integration's Advanced tab >> Acknowledge Alert action:



Here is where you can substitute your instances statuses, add other conditions, etc. - in order for the integration to ack an alert by a received SFDC request. 

Hope this helps! Let us know if you have any additional questions, issues, etc.

Thanks for this, Nick.

I have tried that but it did not seem to have worked unless I am missing something else.

I set check for the Status = Investigating for testing for Ack-ing the alert and Status = Closed for closing the alert ... but it does not seem to be happening to the Alert.

Please advise?
Thank you

Nick H Atlassian Team Jul 14, 2021

Is the Investigating SFDC request making it to the Acknowledge action? 

Can you check the logs of that request to see how Opsgenie is receiving the request, and what action it's trying to execute?

It's tough to advise without seeing the alert, reviewing the logs, etc. If you can share any screenshots of the logs, as well your current configuration, I might be able to advise from there.


So my rule for Ignore is 

Priority not equals 4 Minor Impact

So my rule for Close alert is 

Priority equals 4 Minor Impact

So my rule for Close alert is 

isClosed equals true

So my rule for Ack alert is 

Status equals Investigating

So my rule for Add note is 

Match all alert (with a test note)


For all of them Alias is {{alias}}


Yes the Investigating case is pulled through under the activity of an existing alert as "Alert is received with same alias. Message: "Salesforce event: Case with number 20151195 created with status : "Investigating"". Count is increased to 6"

See logs here - it looks like :







ack and close actions

ack and close actions.png

It seems to be quite extensive these logs ... Please let me know

Thanks in advance

Nick H Atlassian Team Jul 21, 2021

It looks like those logs indicate that the requests are being deduplicated - which occurs when the alias of an alert matches the alias of an open existing Opsgenie alert. The other actions such as Close, Ack and Add Note are also dependent on this field.

But what seems to be happening is the requests are matching your Create Alert action. The integration's actions will be reviewed by Opsgenie from top >> down (Ignore >> Create >> Close >> Ack >> Add Note). When Opsgenie finds a matching filter / conditions, it will use that action.

You mentioned your Create Alert action filter is: Priority equals 4 Minor Impact.

You will most likely need to add another condition(s) that does NOT match on the close requests being received. Maybe something like this:



Hope that helps!

Super! Thanks for the guidance. That has resolved it for me for the Close and Ack actions ...

The only one left is the Note action ... I currently have it for match all alerts ... but it does not seem to add the test note in the action - what from the Salesforce side would trigger the Add Note action for all alert matches?

Nick H Atlassian Team Jul 22, 2021

"What from the Salesforce side would trigger the Add Note action for all alert matches?"

To be honest, I'm not entirely sure. By default when adding a new SFDC integration, there isn't an Add Note action added by default. I also don't have an instance to test.

Without seeing how these requests might differ from others (like create, close, etc.), it'd be tough to provide suggestions. This would realistically depend on what is sent in the payload by SFDC >> OG. You could review these logs, and check what might differ - then adjust your other actions' filters so they do not trigger when a note is added, and can then match on the "catch-all" Add Note action that is set to Match All.

I'd suggest testing on your end, and reviewing the payload / request if received by Opsgenie when a note is added on the SFDC side. Then comparing it to other requests received. If no log or request is received by Opsgenie when a note is added on the SFDC side, then that would indicate these are not being received by Opsgenie, and some configuration would need to be done in SFDC to send to Opsgenie.

Hope this helps! Let us know if you have any other questions.

Like Steffen Opel _Utoolity_ likes this

A very useful thread. I've recently had the same issue and was searching for the answers for 2 weeks. Finally found this should be saved somewhere as a step-by-step guide. Anyway, I'm lucky to find a way to implement salesforce and email integration in my business. I've tried many times to find software that would be beneficial to my business and finally found a soft at revenuegrid. You can check their salesforce inbox pricing as they have different plans for the needs of the businesses.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events