Skip to content

[Bug] [API] CreateIssue not ignore empty assignees #8872

Closed
@6543

Description

@6543

afected version: 1.11-dev
not afected: 1.9.x; 1.10.0

If json include "assignees": [ "" ], responce is 422:

{
  "message": "Assignee does not exist: [name: user does not exist [uid: 0, name: , keyid: 0]]",
  "url": "https://gitea.com/api/swagger"
}

What sould happen: ignore assignees

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions