At org level, label count seems to only take into account issues, but not PRs #13304

Open
opened 2025-11-02 10:38:01 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @juanpablo-santos on GitHub (Jul 18, 2024).

Description

As per title, $GITEA/org/$org/settings/labels shows application-wide labels, followed by the number of issues/PRs tagged with that label. In our case, we're getting it's being applied to 0 issues/PRs, although the labels are applied to a large number of PRs.

Also, we aren't using Gitea issues, as we are already using JIRA, and all repos are configured to redirect to an external issue tracker. Back to $GITEA/org/$org/settings/labels, the link with the number of PRs which are tagged with the labels redirects to $GITEA/issues?labels=$label_id (shouldn't it redirect to $GITEA/org/$org/issues since we are at org level?), so most probably the counters shown at $GITEA/org/$org/settings/labels only refer to issues and not to PRs :-?

Gitea Version

1.22.1

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?

we're using a docker image based on official gitea docker image

Database

MySQL/MariaDB

Originally created by @juanpablo-santos on GitHub (Jul 18, 2024). ### Description As per title, $GITEA/org/$org/settings/labels shows application-wide labels, followed by the number of issues/PRs tagged with that label. In our case, we're getting it's being applied to 0 issues/PRs, although the labels are applied to a large number of PRs. Also, we aren't using Gitea issues, as we are already using JIRA, and all repos are configured to redirect to an external issue tracker. Back to $GITEA/org/$org/settings/labels, the link with the number of PRs which are tagged with the labels redirects to $GITEA/issues?labels=$label_id (shouldn't it redirect to $GITEA/org/$org/issues since we are at org level?), so most probably the counters shown at $GITEA/org/$org/settings/labels only refer to issues and not to PRs :-? ### Gitea Version 1.22.1 ### 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? we're using a docker image based on official gitea docker image ### Database MySQL/MariaDB
GiteaMirror added the type/bug label 2025-11-02 10:38:01 -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#13304