Skip to content

Getting Bad Request, possibly due to Date.toString #202

@nafg

Description

@nafg

I'm getting a 400 error while trying to create an issue. This is my theory as to the cause:

IssuesApi.java line 219 passes createdAt and dueDate to withParam, which toStrings it, which results in values like Sun Feb 10 05:22:13 EST 2013, however https://docs.gitlab.com/ee/api/issues.html#new-issue says it has to be in ISO 8601.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions