We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug
Creating an alert with an integer custom field gives a BadRequest error (see curl below)
curl -s -u<user>:<password> -H 'Content-type: application/json' -H 'X-Organisation: <org>' http://127.0.0.1:9000/api/alert -d '{"type": "test-alert", "source": "script", "sourceRef": "8", "title": "Title", "description": "alert description","customFields":{"business-risk":false,"cvss":2}}'
is answered by
{ "type": "BadRequest", "message": "Invalid value type for custom field.\r\n Expected: integer\r\n Found : Some(2.0) (class scala.Some)\r\n " }
Allow a integer custom field to accept Float/Double types ?
The text was updated successfully, but these errors were encountered:
#1588 Fixed customField integer from double
80f4a96
1a06362
9c7a456
rriclet
Successfully merging a pull request may close this issue.
Bug
Work Environment
Problem description
Creating an alert with an integer custom field gives a BadRequest error (see curl below)
Steps to Reproduce
is answered by
Possible Solutions
Allow a integer custom field to accept Float/Double types ?
The text was updated successfully, but these errors were encountered: