Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-4290

trigger.get auto-expanding functions but not macros

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.4.4
    • API (A)

      Currently there is an argument `expandExpression` which expands both functions and macros, but I would like the functions to be expanded by default and not the macros.
      The reason I prefer this is to have the trigger.get API call return the same contents for the expression as the website does when viewing a trigger. Functions are hidden when using the webinterface, and as such, the webinterface shows the expression with the functions expanded, but with the macros as they are.

      To summarize: I would move to to always expand functions in the (trigger.get) API, and use `expandExpression` to only (additionally) expand macros.

            sasha Alexander Vladishev
            Neighbour Herbert Buurman
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: