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

Incorrect error message when user has no create permissions on any projects

Open DHaussermann opened this issue 5 years ago • 0 comments
trafficstars

There is an edge case where a user has no create permission on any project and then tries to create an issue they will see a message about an unexpected value in json rather than a user friendly message. NoPermision This occurred on Jira server 8.8.1 Steps:

  • Connect test user in Mattermost
  • In Jira note test users role and remove create permissions for all projects
  • In matter most attempt to create an issue from a post

Expected: Some message about no projects available comparable to subscribe modal in similar case Observed: Error about invalid json

DHaussermann avatar May 11 '20 15:05 DHaussermann