Uploaded image for project: 'Identity'
  1. Identity
  2. ID-8402

When the hard limit for an annual subscription is reached, the API will fail with a 500 error.

      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

      1. Create a license for 10 users for the JSM product annual standard plan
      2. Add users until these 10 users plus the hard limit is reached
      3. 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

            [ID-8402] When the hard limit for an annual subscription is reached, the API will fail with a 500 error.

            There are no comments yet on this issue.

              Unassigned Unassigned
              b23de49ea095 Abhishek Jain
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: