Skip to content

Details about pull request reviewers that are groups are not returned from the API #31764

Closed
@dmach

Description

@dmach

Description

  1. create a pull request
  2. assign the pull request review to a group
  3. query the API, for example: curl -H "Token: ..." -X GET https://demo.gitea.com/api/v1/repos/dmach-org/test/pulls/1
    this results in:
{
    ...
    requested_reviewers":[null],
    ...
}

It works fine when the review is assigned to a person.

Gitea Version

1.22.1

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

openSUSE

How are you running Gitea?

openSUSE package running in podman (a container for test purposes)

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/apiConcerns mainly the APItype/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions