Details
-
Bug
-
Resolution: Fixed
-
High
-
18
-
Severity 2 - Major
-
6
-
Description
Summary
When a Next-gen project is created with the same issue type as the existing classic projects, some fields cannot be used in the Basic search
Steps to Reproduce
Scenario 1 :
If you have a Classic Project and a Next-gen project, after configuring the default configuration scheme for a Custom Field with context defined for any issue type present in the next-gen project, when performing a basic search filtering for that Custom Field, the following message is returned: "Field is not applicable to the current project and/or issue type".
We created a video reproducing this problem as you can see here: JRACLOUD-71320.mp4
This video shows that the search works before creating the next-gen project, but it doesn't after creating it.
- Create a Classic project
- Create a Next-gen project
- Go to Administration > Issues > Custom fields
- Navigate to that Custom field, then go to Cog Icon > Configure
- Edit the Applicable contexts for scheme with any issue type present in the next-gen project.
- Try searching for issues using that Custom Field and some type that exists in next-gen projects on Basic Search
Scenario 2 : System Fields
- Create a classic Scrum project. Make sure that Story issue type is used by the project.
- Create a Sprint and assign some issues.
- Perform a basic search on the Classic Project, Story Issue type and Sprint. (Works OK)
- Create a Next-Gen scrum project. Make sure Story issue type is used by the project.
- Try to perform a basic search again on the Classic Project, Story Issue type and Sprint
Scenario 3 : Custom Fields
- Create a classic project. Make sure that Story issue type is used by the project.
- Create a Custom field and assign to the screens of the classic project
- Perform a basic search on the Classic Project, Story Issue type and Custom_Field. (Works OK)
- Create a Next-Gen scrum project. Make sure Story issue type is used by the project.
- Try to perform a basic search again on the Classic Project, Story Issue type and Custom_Field
Expected Results
You are able to select the Field on the Basic Search.
Actual Results
A warning is shown on the UI: "Field is not applicable for the current project and/or issue type".
Notes
This seems to happen because Jira is mistaken the global issue type with the next-gen issue type.
Workaround
- Using Global context on the Custom Field configuration makes the behavior not reproducible anymore.
- Use the Advanced search and JQL should still work.
Attachments
Issue Links
- is duplicated by
-
JRACLOUD-72049 Fields cannot be queried via Basic search
- Closed
- is related to
-
JRACLOUD-72977 Issue Navigator: "<custom_field_name> is not applicable for the current project and/or issue type" message displayed if project context is global, but issue type is restricted
- Closed
- relates to
-
JRACLOUD-59032 Custom Field context not behaving correctly.
- Closed
-
JRACLOUD-72156 As a Jira user It is extremely confusing to JQL query an Advanced Search if more than one Next-Gen project is created on my site
- Closed