-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
8.20.0, 9.0.0, 9.4.0, 9.7.0, 9.12.0, 9.15.0, 9.16.0
-
None
-
8.2
-
1
-
Severity 3 - Minor
-
0
-
Issue Summary
Projects that used a custom field might be archived, removing issues from the search index.
Although not searchable, archived issues could still be accessed and having custom field values are important.
A custom field might have been created with a global context and assigned to a project.
This custom field was used within issues from this project, and the project may have been archived.
If there's no plan using this custom field for other projects, the Jira administrator might want to change the custom field context, assigning it only to the archived project.
However, when editing the custom field context configuration, the administrator won't be able to select an archived project.
Steps to Reproduce
- Install a vanilla instance of Jira Software Data Center.
- This was validated on versions 9.4, 9.12, 9.15 and 9.16.
- Create a Scrum software project with sample data.
- In this example it's a scrum project with key SCRUM1.
- Create a custom field with global context and assign it to screens associated to project SCRUM1.
- Add values to this custom field on a couple of issues from SCRUM1 project.
- Archive the SCRUM1 project.
- Access one of the archived issues with custom field value and note the value for that CF is shown.
- Go to the custom field administration UI and choose configure context.
- Within Applicable contexts for scheme choose Edit Configuration.
Expected Results
The archived project SCRUM1 is part of the list within Available projects.
Actual Results
The archived project SCRUM1 is not part of the list within Available projects.
This prevents removing this custom field from the global context by assigning it to the correct project.
Creating a context on which SCRUM1 is not part of, without a global context, will prevent showing the CF value on the archived issue view.
Workaround
The Jira administrator may be able to use the custom field optimizer (CFO) to apply context that will consider archived projects.
As detailed on JRASERVER-77748, although CFO doesn't show archived projects on scan results, applying the optimization will still consider them.