Skip to content

API support for adding issue assignees #33576

@hwaastad

Description

@hwaastad

Feature Description

I would like to be able to add or remove assignees for an issue using workflows, hence expanding Gitea API would be needed.

Listing assignees for a repo is already supported (GET /repos/{owner}/{repo}/assignees)

Add Assignees: POST /repos/{owner}/{repo}/issues/{issue_number}/assignees, body: {"assignees":["user-1","user-2"]}
Remove Assignees: DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees, body {"assignees":["user-2"]}

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions