-
Bug
-
Resolution: Won't Fix
-
Medium
-
None
-
1
-
Severity 3 - Minor
-
Issue Summary
If the hard limit for an annual subscription is reached, the API will fail with a 500 error. Instead, it should return a valid error message to notify the user that the limit is reached.
Example:
If I have an annual license of 50 users for Jira service management standard plan. Then I can add an additional 50 users as a part of the license hard limit. The billing section will show 100/50 users. When we try to add more users on top of it using an API we get a 500 response back with an error message: "The request failed. We are not sure what went wrong"
Steps to Reproduce
- Create a license for 10 users for the JSM product annual standard plan
- Add users until these 10 users plus the hard limit is reached
- Execute the create user Jira api to add a new user and observe a 500 Error response.
Expected Results
API should not return a 500 error. We should get a correct response code along with a correct message that the license limit has been reached.
Actual Results
Getting a 500 response code with the message:
{
"error messages": [
"The request failed. We're not sure what went wrong. Try again and if the problem persists, contact Jira support."
],
"errors": {}
}
Workaround
No workaround