Issues UI shows generic “Unable to create issue” instead of clear “Issues have been disabled” message #183007
Replies: 2 comments
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
PS: Another UI Related Bug not resolved yet https://github.com/orgs/community/discussions/165732 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Feature Area
Issues
Body
When Issues are disabled for a repository, the
<repo>/issuesUI still lets you open the “New issue” form, but submitting it fails with a generic “Error – Unable to create issue.” The UI does not surface the more helpful GraphQL error message from the backend, which clearly states that Issues are disabled for this repository.Steps to reproduce
https://github.com/<owner>/<repo>/issues.createIssuemutation response.Actual behavior
Error:Unable to create issue.createIssuemutation is more specific, for example:{ "data": { "createIssue": null }, "errors": [ { "type": "FORBIDDEN", "path": ["createIssue"], "locations": [{ "line": 5, "column": 3 }], "message": "Issues has been disabled in this repository." } ], "extensions": { "query_owning_catalog_service": "issues" } }Expected behavior
/issues/newwith an explanation.Why this matters
Environment
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions