Skip to content

fix(issue create): better error message when users are not members

Jay McCure requested to merge jmc-update-issue-create-error into main

Description

If a user is not a member of a public project and a public project only allows issues from members the CLI would previously give a misleading error, stating that issues weren't enabled for the project. This MR adds more information to the error message, to highlight that it could be caused by the user not being a member of the project.

Related Issues

Resolves #1235 (closed)

How has this been tested?

Test added as this flow was previously untested.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)
Edited by Jay McCure

Merge request reports