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

Some properties cannot be retrieved by selectAcknowledges parameter of event.get API

XMLWordPrintable

    • S24-W34/35, S24-W38/39, S24-W40/41
    • 0.5

      It seems to have broken after ZBXNEXT-6974.

      Steps to reproduce:
      **

      {
      "jsonrpc": "2.0",
      "method": "event.get",
      "params": {
      "eventids": "19521355",
      "select_acknowledges": [
      "message",
      "username",
      "name",
      "surname"
      ]
      },
      "id": 1
      }
      

      Result:

      {
      "jsonrpc": "2.0",
      "error": {
      "code": -32602,
      "message": "Invalid params.",
      "data": "Invalid parameter \"/selectAcknowledges/2\": value must be one of \"acknowledgeid\", \"userid\", \"clock\", \"message\", \"action\", \"old_severity\", \"new_severity\", \"suppress_until\", \"taskid\"."
      },
      "id": 1
      }
      

      Expected:
      Allow all properties described in [documentation|
      https://www.zabbix.com/documentation/current/en/manual/api/reference/event/get#parameters].

            agriscenko Andrejs Griščenko
            yuriip Yurii Polenok
            Team A
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 0.75h
                0.75h