mattermost-plugin-jira
mattermost-plugin-jira copied to clipboard
Incorrect error message when user has no create permissions on any projects
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.
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