That you are able to use True or False for the action option "sticky" as value and it will be converted/accepted.
Current Behavior
The API is not converting false or true and expect a floating number.
Steps to Reproduce (for bugs)
As described at the beginning
Context
This issue appears while creating a ticket in ITSM which gives a feedback as service acknowledge with comment back to the icinga2 core
Your Environment
Version used (icinga2 --version): icinga2-2.7.0-1.el7.icinga.x86_64
Operating System and version:
NAME="Red Hat Enterprise Linux Server"
VERSION="7.4 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.4"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.4 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.4:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.4
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.4"
Red Hat Enterprise Linux Server release 7.4 (Maipo)
Red Hat Enterprise Linux Server release 7.4 (Maipo)
cpe:/o:redhat:enterprise_linux:7.4:ga:server
Enabled features (icinga2 feature list): api checker command graphite ido-mysql mainlog notification
The sticky argument is documented as being a boolean value. This implies that the JSON value you specify has to be either true or false, or (for HTTP arguments) a numeric value.
The error raises during creating a acknowledge-problem with comment and setting stickyness with false or true.
Expected Behavior
That you are able to use True or False for the action option "sticky" as value and it will be converted/accepted.
Current Behavior
The API is not converting false or true and expect a floating number.
Steps to Reproduce (for bugs)
As described at the beginning
Context
This issue appears while creating a ticket in ITSM which gives a feedback as service acknowledge with comment back to the icinga2 core
Your Environment
icinga2 --version
): icinga2-2.7.0-1.el7.icinga.x86_64icinga2 feature list
): api checker command graphite ido-mysql mainlog notification