Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-4626

Template validation for 'Webhook JSON'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • None
    • Default
    • None

    Description

      If we need to send alert status and/or alert timestamp as numerical value, we must not use quotes (as in example below). But in this case template validation fails, since it treats the template as a normal JSON.

      {
          "ALERT_STATUS": %ALERT_STATUS%,
          "ALERT_UNIXTIME": %ALERT_UNIXTIME%,
      }

      Attachments

        Activity

          People

            landy Mike Stupalov
            alysov Andrei Lysov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: