-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Component/s: Work Item - Search - Frontend - All work page
-
15
-
Severity 3 - Minor
-
3
NOTE: This bug report is for JIRA Cloud. Using JIRA Server? 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.
The problem stems from mismatch between what Autocomplete fills up in the JQL, versus, what JQL search prioritizes. The Autocomplete fills up based on the project name. However, JQL search prioritizes project keys. If no project keys are found, then only it goes to search for project name.
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
- create first project with name My Test Project, key: MTP
- create second project with name MTP, key: MP
- create a new JQL, insert:
project=MTP
- select project with key MP from the suggested list
- 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
Searching based on the Key, for example
project = MP
- is caused by
-
JRACLOUD-25872 Should not be able to set a Project Name to an existing project's name or key
-
- Closed
-
- is duplicated by
-
JRACLOUD-35725 Advanced search using project name is impossible if the name used is equal to other project's key
-
- Closed
-
- is related to
-
JRASERVER-35250 Wrong filter result if project name duplicate with other project key
-
- Gathering Impact
-
-
JRACLOUD-97946 JQL autocomplete for project should select "Pkey" instead of "Pname".
- Gathering Interest
- relates to
-
JRACLOUD-23708 Road Map Gadget displays 'No Issues' for each version of a project even though there are issues for each of them
-
- Closed
-