Project keys with special characters causes 404 errors

XMLWordPrintable

    • Type: Bug
    • Resolution: Timed out
    • Priority: Low
    • None
    • Affects Version/s: 7.5.2, 7.13.0
    • Component/s: Issue - View Issue
    • None
    • 7.05
    • 2
    • Severity 3 - Minor

      Issue Summary

      Jira Allows a project key pattern to be customized, this includes allowing special characters such as _, *,^, etc. However, this may break some functionality and throws a 404 errors

      Steps to Reproduce

      1. Configure Jira project key pattern to allow special characters.
      2. Create a project with a special character such as _ or ^ in the project key
      3. Create an issue in the project

      Scenario 1
      For a project that has a '_' in the project key:

      1. Open an issue in a new tab.
      2. Delete the issue
      3. This shows a 404 error, despite the issue is successfully deleted

      Scenario 2
      For a project that has a '^' in the project key:

      1. Open the project in the issue navigator
      2. Try to switch the filer to anther from the 'Switch Filter" menu
      3. This shows a 404 and the filter does not work.

      Expected Results

      If a project key pattern is allowed, it should not cause any error.

      Actual Results

      a 404 error is thrown which may affect some functionality such as the below:

      "The value 'undefined' does not exist for the field 'project'"

      A HAR file shows the following POST Request:

      jql=project+%3D+%22undefined%22+AND+resolution+%3D+Unresolved+ORDER+BY+priority+DESC%2C+updated+DESC
      &columnConfig=explicit&layoutKey=split-view&startIndex=0
      

      Workaround

      For Scenario 1, delete the issue from the issue navigator in the list or details view instead of opening it in a new tab.
      For Scenario 2, a JQL search may be used.

        1. value_undefined.PNG
          10 kB
          Muaamar Amer

            Assignee:
            Unassigned
            Reporter:
            Muaamar Amer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: