Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-18120

{EVENT.RECOVERY.TAGS} macro doesn't contain webhook tags

XMLWordPrintable

    • Sprint 66 (Jul 2020)

      Steps to reproduce:

      1. Create new webhook
      2. Add script "return '{"tags":{"a":1}}';" and select "Process tags"
      3. Add macros {EVENT.TAGS} and {EVENT.RECOVERY.TAGS} for message type "Problem recovery" in message template
      4. Edit user and add media with this webhhok
      5. Add tag triggerTag:test to trigger
      6. Make trigger in problem state
      7. Make trigger in resolved state
      8. Check Reports -> Action log

      Result:
      {EVENT.TAGS} contains a:1, triggerTag:5
      {EVENT.RECOVERY.TAGS} contains triggerTag:test
      Expected:
      {EVENT.RECOVERY.TAGS} contains a:1, triggerTag:test

        1. tag.png
          69 kB
          Natalja Romancaka

            arimdjonoks Artjoms Rimdjonoks
            natalja.zabbix Natalja Romancaka
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: