Skip to content

Group Issues API searches archived projects

Summary

Calling the API to list a group's issues[1] I get also all issues from archived projects within that group. On the other hand, such issues are not displayed in the group's issues overview UI.

[1] https://docs.gitlab.com/ee/api/issues.html#list-group-issues

Steps to reproduce

  1. Archive a project
  2. Call GET /groups/:id/issues
  3. Notice that issues in archived projects appear

What is the current bug behavior?

Issues from archived projects return

What is the expected correct behavior?

There should be no issues from archived projects, or at least, a way to filter them from the results.

Output of checks

This bug happens on GitLab.com

Edited by DeAndre Harris