-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
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
Add impact and urgency as optional params for the servicenow alerter #316
Conversation
It's an additional |
Although it is an additional impact and urgency, since integer is specified in schema.yaml, in the actual rule, if you enclose it in single quotation marks or double quotation marks, an error will occur when executing the actual rule. |
Thank you. I'll add the servicenow prefix for the new parameters. |
Thank you. I'll add the servicenow prefix. |
To make sure I understand, are you suggesting to omit the quotes in the unit test? |
If schema.yaml is written as follows, the value will be checked and an error will occur when a rule other than 1,2,3 is specified and the rule is executed.
Supplement. jsonschema checks the key and data type etc. listed in schema.yaml. |
If you don't agree, you can leave it as it is. |
Great suggestion. Thank you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!!
Extend the Servicenow alerter to support two new parameters: impact and urgency.
More info on these parameters can be found on the Servicenow doc page on defining priority lookup rules.
These are added as optional parameters to ensure backwards compatibility.