API create Label ignoring projectId field #7

Open
opened 2026-04-05 16:18:40 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @PCbIX on 3/30/2026

Describe the bug
API endpoint for Label creation ignore projectId at checking of label existence

To Reproduce
Steps to reproduce the behavior:

  1. Create two projects [First, Second]
  2. Create label "label" at First via API
  3. Try to create same at Second via API
  4. See error {"error":"Label with the same name already exists in this project."}

Expected behavior
Labels creation procedure works as expected, checks projectId of current labels

Screenshots
If applicable, add screenshots to help explain your problem.

Deployment Type
self hosted k8s 10.0.39

*Originally created by @PCbIX on 3/30/2026* **Describe the bug** API endpoint for Label creation ignore projectId at checking of label existence **To Reproduce** Steps to reproduce the behavior: 1. Create two projects [First, Second] 2. Create label "label" at First via API 3. Try to create same at Second via API 4. See error `{"error":"Label with the same name already exists in this project."}` **Expected behavior** Labels creation procedure works as expected, checks projectId of current labels **Screenshots** If applicable, add screenshots to help explain your problem. **Deployment Type** self hosted k8s 10.0.39
MrUnknownDE added the bug label 2026-04-05 16:18:40 +02:00
Sign in to join this conversation.
No Label bug
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#7