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

Filter alerts by integration?

Emma Rector
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 10, 2024

Is there a native way to look at the integration directly for conditions? I want to provide multiple APIs so that users creating an alert manually specify what they are working with (e.g. Oracle vs. Sql Server databases). Depending on which API is used, I would like to apply different routing rules to it, because different people know how to handle the two types of things.

Filtering on the integration name directly would be the easiest. It shows up well when I create an alert:

tempsnip.jpg

(source is my email address because I manually created an alert for testing) . The Integration field also works well for other integrations, showing the name defined on the Integrations page.

But that doesn't seem to be a selectable field when creating conditions (on routing rules, policies, etc.):

Capture.PNG

(not shown: Actions, Alias)

I have tried the following as routing rule conditions, and the activity logs show that they did not work:

  • Details (Key-Value Based) Integration Contains DBA_API
  • Details (Key-Value Based) API Equals DBA_API
  • Details (Key-Value Based) API Equals DBA_API (API)
  • Details Contains DBA_API
  • Entity Equals DBA_API

I know I could use the Create Alert rule on each API to add a tag/add an extended property/change properties like the message, alias, or description to mark which API is being used, but it seems like there should be something built in to handle this.

1 answer

1 accepted

0 votes
Answer accepted
John M
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 11, 2024

Hi @Emma Rector ,

John from Opsgenie support here, happy to assist. 

The value in the 'source' field is typically a hard-coded value that is the same as the type of integration. For example, for a Twilio integration it looks like this, by default:

2024-04-11_23-07-41.png

Only with API integrations is the default value {{source}}, which parses to the users email address. 

As seen above, the entity field is also usually blank by default, so that you can configure it for things like routing rules. 

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events