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

JQL project=ProjectName returns wrong results if a project was renamed and a new one was created using the same name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 8.5.19, 8.13.13, 8.20.6
    • JQL

    Description

      Problem

      When a project is renamed and its key changed, if you create a new project that uses the same project name the old one had, but with a different project key, the JQL project=ProjectName will return the issues from the old project, not from the new one.

      Environment

      Jira Server and Data Center

      Steps to Reproduce

      1. Create a new project called PMASTER with key PMASTER
      2. Rename the project to POLD and the key to POLD as well
      3. Create a new project with the name PMASTER with key PMAS (not PMASTER)
      4. When using the advanced search, if JQL is "project = PMASTER", the results are the issues from project "POLD"

      Expected Results

      JQL project=PMASTER returns the issues from the new project PMAS, not from POLD.

      Actual Results

      Only issues from POLD are returned

      Workaround

      Use the Basic Search or the new Project Key (e.g. for the example above, project=PMAS)

      Notes

      This is not the same issue from JRASERVER-35250, although it might be related. Note that in this case, the first project was renamed already, prior to creating the second one.

      There are also some other workarounds in the below article that may help in this case:

      Attachments

        Activity

          People

            Unassigned Unassigned
            489dcb58d5d9 Edson Araujo
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: