In the latest version 8.2.0, an incomplete request results in error without relevant information.
For instance I tried calling addNewIssue without passing an issuetype. Earlier this type of request was failing with an error that said "issue type is required".
But now, following is the error object that I received.
[start:server] Error: [object Object]
[start:server] at JiraApi.doRequest (/Users/ssomarajapuram/src/github/smart-ci/node_modules/jira-client/lib/jira.js:347:13
[start:server] at processTicksAndRejections (node:internal/process/task_queues:96:5)
Reverting to 8.0.0 resolved the issue. It returns the required info, but in exchange it doesn't throw an error now.
In the latest version 8.2.0, an incomplete request results in error without relevant information.
For instance I tried calling addNewIssue without passing an issuetype. Earlier this type of request was failing with an error that said "issue type is required". But now, following is the error object that I received.
Reverting to 8.0.0 resolved the issue. It returns the required info, but in exchange it doesn't throw an error now.