Closed MelvinVMathew closed 7 months ago
HI @MelvinVMathew you can define this mapping in config
tenable:
severity_prioritization:
critical: 1
high: 2
medium: 3
low: 4
complete list of properties that can be modified has be documented here
I tried adding them,
looks like script not able to parse config.yaml now can you please check config around these lines
parse_block_mapping_key
"expected , but found %r" % token.id, token.start_mark)
yaml.parser.ParserError: while parsing a block mapping
in **"config.yaml", line 1, column 1**
expected , but found ''
**in "config.yaml", line 27, column 2**
and validate if recents changes are added under right node
This is the error we are getting now.
Some part has been redacted
I am having the same error on invalid priority. I updated the values in the config file, but I am still getting the error. How can I know what are the priority IDs that we have in our instance of Jira?
2023-08-04 03:04:12,101 restfly.errors.BadRequestError ERROR [400: POST] https://abc.atlassian.net/rest/api/3/issue?update_history=False body=b'{"errorMessages":[],"errors":{"priority":"The priority selected is invalid."}}'
It seems that in our Jira environment there is no priority with ID:1. The ones we have are,
Critical - 2 Major - 3 Minor - 4 Needs Defined - 5 Blocker – 6
How can we modify the script to use Priority with ID 2 rather than ID 1?