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

Details

    • Team C
    • Sprint 66 (Jul 2020)

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              arimdjonoks Artjoms Rimdjonoks
              natalja.zabbix Natalja Romancaka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: