Cannot set labels inherited from organization via API #13846

Closed
opened 2025-11-02 10:54:57 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @hwaastad on GitHub (Dec 18, 2024).

Description

Hi,
I'm not sure if this is a bug or a feature request.
Having labels defined in Organization, labels are available to use on a repo issue/pr
However, using API, labels are not accessible

I would like to be able to add labels inherited from org to issues/pull requests using API

Gitea Version

1.22.6

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Running Gitea docker container.( in k8s)

Database

MySQL/MariaDB

Originally created by @hwaastad on GitHub (Dec 18, 2024). ### Description Hi, I'm not sure if this is a bug or a feature request. Having labels defined in Organization, labels are available to use on a repo issue/pr However, using API, labels are not accessible I would like to be able to add labels inherited from org to issues/pull requests using API ### Gitea Version 1.22.6 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? Running Gitea docker container.( in k8s) ### Database MySQL/MariaDB
GiteaMirror added the topic/apitype/bug labels 2025-11-02 10:54:57 -06:00
Author
Owner

@Zettat123 commented on GitHub (Dec 26, 2024):

I think this bug is related to #30943. We should also query label names from the org. I'll create a PR to fix it.

@Zettat123 commented on GitHub (Dec 26, 2024): I think this bug is related to #30943. We should also query label names from the org. I'll create a PR to fix it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13846