Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-2993

Can't delete Behaviour mapping with a null Issue Type

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Done
    • Affects Version/s: 5.4.29
    • Fix Version/s: 5.4.48
    • Component/s: Behaviours
    • Labels:
    • Sprint:
      Sprint 44, Sprint 45
    • Critical Points:
      0.7

      Description

      Overview

      **If you have a Behaviour that is mapped to an issue-type that has been deleted in your instance, an error is thrown when you try deleting that mapping.

      Steps to Reproduce:

      • In a clean instance of JIRA, create a new project.
      • Next, navigate to the Issue Type configuration page and create a new issue-type called "Delete Me."
      • Now, head over to the SR Behaviour's Admin page, create a new test behaviour, and map it to your new project and the issue-type that you just created.
      • From here, go back to the Issue Type configuration page and delete the issue-type that you created called "Delete Me."
      • Finally, head back over to the Behaviour's page and try to delete the mapping that you had just created. You should see an error similar to:
         

      As well as an error in the Browser console:

        Attachments

          Activity

            People

            Assignee:
            rholban Roland Holban [X] (Inactive)
            Reporter:
            aderossett Aidan Derossett
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: