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

Version related JQL functions do not gracefully handle versions associated with not existing projects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • L3
    • Resolution: Done
    • None
    • 6.45.0
    • None
    • SR4J Sprint 115, SR4J Sprint 116, SR4J Sprint 117
    • 4

    Description

      Under normal operation, all Version s should be associated with an existing Project. It's possible to quite easily introduce a data integrity issue by for example deleting a Project via ProjectManager which unlike ProjectService does not also remove the Version s associated with the project being removed.

      If a Version which is not associated with an existing Project exists in the instance then releaseDate(), startDate() and overdue() JQL functions fail with a NullPointerException and no issues are ever returned from queries which use them.

      Attachments

        Issue Links

          Activity

            People

              landrews Lawrence Andrews
              merdmann Marcin Erdmann [X] (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: