Projects API: filter 'with_issues_enabled=true' returns projects with 'issues_enabled=false'
Steps to reproduce
The following call
curl 'https://gitlab.com/api/v4/projects?with_issues_enables=true&order_by=name&per_page=5'
returns, among others, a result with "issues_enabled": false
What is the current bug behavior?
The with_issues_enabled
parameter also returns projects with private access issues. The current user might not have acces to these issues, thus the returned issues_enabled
flag might be false.
What is the expected correct behavior?
When the with_issues_enabled
parameter is set, the projects should be filtered on the issues_enabled
feature based on the current user OR the documentation should be updated to state this unintuitive behavior.
Edited by username-removed-133085