Skip to content
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

400 error when query fields are undefined #317

Open
Arnoid31 opened this issue Mar 29, 2021 · 1 comment
Open

400 error when query fields are undefined #317

Arnoid31 opened this issue Mar 29, 2021 · 1 comment

Comments

@Arnoid31
Copy link

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.

@TwioZz
Copy link

TwioZz commented Jul 8, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants