mattermost-plugin-github icon indicating copy to clipboard operation
mattermost-plugin-github copied to clipboard

Attach modal shows a json error when no issues are available to attach

Open DHaussermann opened this issue 3 years ago • 0 comments

When no issues are available to attach we should see s friendly message rather than a json error. This would be most common the plugin is locked to an org or repo and issue creation has been disabled there.

image

Steps:

  • Connect a test user
  • Save some other value in the Organization lock such as token-org (or find an org or repo that has issue creation disabled and point there)
  • Make or locate a post
  • Select the ... menu and Attach to GitHub

Observed: The modal shown an invalid json error

DHaussermann avatar Feb 16 '22 23:02 DHaussermann