node-jira-client icon indicating copy to clipboard operation
node-jira-client copied to clipboard

400 error when query fields are undefined

Open Arnoid31 opened this issue 4 years ago • 1 comments

When using await getEpics(boardId, 0, 50); I get the following error from Jira : 400 - {"errorMessages":["Illegal boolean value: , for param. done. Allowed values are True and False."] QueryParams are : { startAt: 0, maxResults: 50, done: undefined } I guess done: undefined is still interpreted by Jira as non-boolean value. I will do a PR concerning this issue.

Arnoid31 avatar Mar 29 '21 11:03 Arnoid31

I've got the same problem, keep me up when PR is ready. For now, i just put a false

TwioZz avatar Jul 08 '21 11:07 TwioZz