Uploaded image for project: 'Opsgenie'
  1. Opsgenie
  2. OPSGENIE-338

Ability to filter on Jira/JSM custom fields in create alert actions

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Description

      At this time, Jira and JSM integrations can only filter on default fields in the create alert actions. Having the ability to also filter on custom fields in the new framework would add additional flexibility.

      Workaround

      Custom fields can still be extracted from the Jira / JSM payload, typically with something like:

      {{_payload.issue.fields.customfield_12345.value}}
      
      {{_payload.issue.fields.customfield_12345.substringBetween("value=",",")}}

      To see how a custom field parses in the payload, add:

      {{_payload}}

      to the create alert action's Description field. Sometimes the payload will be truncated in the Logs, but should parse entirely in the alert's Description - since it can parse up to 15k characters.

      String processing and regex can be helpful to extract data as well.

      Once you find the dynamic field that extracts the custom field, parse this into one of the create alert action's alert fields - such as an extra property.

      You can then use Alert policies to filter on the extra property, and modify the alert to add a responder, add a tag, etc.

       

            [OPSGENIE-338] Ability to filter on Jira/JSM custom fields in create alert actions

            Conny Postma made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 932748 ]
            Uğur Turan made changes -
            Status Original: Reviewing [ 11773 ] New: Under Consideration [ 11774 ]
            Makarand Gomashe made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 970859 ]
            Zafer Gençkaya made changes -
            Labels New: RIBS-SHORT
            Matheus made changes -
            Remote Link New: This issue links to "Page (Atlassian Documentation)" [ 932748 ]
            Matheus made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 932948 ]
            Kent Baxley made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 932819 ]
            Uğur Turan made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 883982 ]
            Esraa Mahmoud (Inactive) made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 775688 ]
            Deeksha made changes -
            Assignee Original: Deeksha [ 5c2ef97b0ebd ] New: Makarand Gomashe [ 36bd3fea80e3 ]

              36bd3fea80e3 Makarand Gomashe
              nhaller Nick Haller
              Votes:
              120 Vote for this issue
              Watchers:
              75 Start watching this issue

                Created:
                Updated: