Invalid requiredNumber validation for Jira Issue creation
Issue #618
resolved
In our Jira Project we have set the field 'storyPoints' to required.
When trying to create an issue using the atlascode plugin, setting the 'storyPoints' field leads to a blank page.
The developer console prints: “TypeError: e.trim is not a function“.
I tried to debug the code and found out that the validator validateRequiredNumber calls validateString before performing an actual validateNumber validation.
However, validateString calls 'value.trim()
' assuming the value is of type string
, whereas the value is of type number
.
Versions:
VSCode: 1.58.2
atlascode: 2.9.1
Jira: 8.6.1
OS: RHEL 8.3
Comments (2)
-
reporter -
- changed status to resolved
- Log in to comment
fixed with pull request #997