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

Closed
opened 2025-11-02 10:39:48 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @dmach on GitHub (Aug 2, 2024).

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

Originally created by @dmach on GitHub (Aug 2, 2024). ### 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
GiteaMirror added the type/enhancementtopic/api labels 2025-11-02 10:39:48 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13357