No message/adivce is displayed when deleting a request type that has a missing issue type

XMLWordPrintable

      Problem Definition

      • Bug described in JSDCLOUD-7959 allows issue types associated with request types to be disassociated with the project/issue type scheme thereby blocking the request type from being able to be deleted

      Suggested Solution

      • Add a validator and an error message to state that the request type can't be deleted because of a missing issue type

      Why this is important

      • Currently, there isn't an error message in the UI that informs the user that this is the problem. The UI is stuck on this screen without any message or advice:

      Workaround

      • Open the browser network console and navigate to the "Network" tab. There should be a HTTP 404 response saying:
        {
          "errors": [
            {
              "errorMessage": "You can't edit the request type because the issue type it's based on was removed. To restore the request type, add back its associated issue type in this project's issue type scheme."
            }
          ],
          "reasonKey": "sd.error.issuetype.not.associated",
          "reasonCode": "404"
        }
        

            Assignee:
            Unassigned
            Reporter:
            Derrick Nguyen (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: