Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-35250

Wrong filter result if project name duplicate with other project key

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Description
      If the name of a project is same as the key of another project, then, when using JQL to search by name on the first project would retrieve all issues from the second project.

      First Symptom

      Steps to reproduce
      1. Create the first project with name: My Test Project, key: MTP
      2. Create the second project with name MTP, key: MP
      3. Seach with advance JQL:

      project ="MTP"

      4. All issues belong to My Test Project project are retrieved.

      Expected result
      All issues belong to MTP project should be retrieved.

      Second Symptom

      Steps to reproduce

      1. create first project with name My Test Project, key: MTP
      2. create second project with name MTP, key: MP
      3. create a new JQL, insert:
        project=MTP
        
      1. select project with key MP from the suggested list
      2. hit Enter and the issue for project with key "MTP" is return

      Expected Result
      Issue for project with key "MP" is return as user manually select the project from the suggestion list

      Workaround
      Check a few workaround options at https://confluence.atlassian.com/jirakb/when-a-jira-project-key-is-equal-to-a-project-name-the-search-always-uses-the-key-1108089913.html

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ttran@atlassian.com StevenA (Inactive)
              Votes:
              8 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated: