-
Notifications
You must be signed in to change notification settings - Fork 769
Closed
Description
Describe the bug
A clear and concise description of what the bug is.
Trying to retrieve organization project boards when they are disabled causes a GHException.
To Reproduce
Steps to reproduce the behavior:
- Disable organization project boards.
- Use
GHOrganization#listProjects()
Expected behavior
A clear and concise description of what you expected to happen.
Behavior is expected, however a boolean method would be nice.
Desktop (please complete the following information):
- OS: Windows 10
- Version: 1.126
Additional context
Add any other context about the problem here.
Add a new method GHOrganization#hasProjects(), similar to GHRepository#hasProjects() to check if projects are enabled.
This information can be retrieved from the organization json under the key has_organization_projects.