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

Built-in macros are not expanded when testing Script item

    XMLWordPrintable

    Details

    • Team:
      Team B
    • Sprint:
      Sprint 70 (Nov 2020), Sprint 71 (Dec 2020)
    • Story Points:
      0.5

      Description

      Steps to reproduce:

      • Create item "Script"
      • Set script field to:
        var params = JSON.parse(value);
        return params.par1;
      • Add parameter:
        name: par1
        value: {HOST.NAME}
        
      • Test item

      Result:

      {HOST.NAME}

      is returned

      Expected:
      Actual visible host name should be returned

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              talbergs Mārtiņš Tālbergs (Inactive)
              Reporter:
              asestakovs Aleksejs Sestakovs
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: