Details

    • Team:
      Team B
    • Sprint:
      Sprint 37, Sprint 38, Sprint 39, Sprint 40, Sprint 41
    • Story Points:
      3

      Description

      Frontend does not allow LLD function macros in trigger expression

      Expression in trigger prototype:

      {LLD function macro:key["{{#VALUE}.regsub(\"^([0-9]+)\", Server ID: \1)}"].last()}={{#VALUE}.regsub("^([0-9]+)", Server ID: \1)}
      

      Manual update:

      update triggers set expression='{17682}={{#VALUE}.regsub("^([0-9]+)", Server ID: \\1)}' where description='{#VALUE}';
      

      Additional places where frontend does not allow LLD function macros
      for item prototypes in:

      • update intervals;
      • history storage periods;
      • trend storage periods;
      • item value preprocessing steps;
      • HTTP agent required status codes field;
      • HTTP agent HTTP timeout field;

      All places where LLD macro is supported must allow function macros.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iivs Ivo Kurzemnieks
              Reporter:
              vso Vladislavs Sokurenko
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: