Resolving Duplicated Issues and Fields After Snapshot Deployment in CMJ
Summary
This article addresses a known issue where duplicate issues or fields appear after a snapshot deployment using Configuration Manager for Jira (CMJ) in Jira Data Center. The problem often results in:
Duplicated custom fields are showing in screens.
Application error:
IllegalArgumentException: Multiple entries with same keyConfusion during deployments due to unresolved field mappings
Error Screenshots
Problem
After deploying a snapshot from one Jira instance to another, the following issues were encountered:
Custom field with ID
customfield_10330appeared multiple times in screensRendszer Issue Screen Hiba.Error:
java.lang.IllegalArgumentException: Multiple entries with same keyThe UI displays duplicate field entries in screen configurations and field configurations. This typically occurs due to unresolved custom field conflicts or missing mappings during the deployment process. In CMJ, this situation can occur if the same custom field name/type exists in both source and target environments, but is not properly reconciled during deployment.
Cause
This happens when:
The same custom field exists in both source and target with different internal IDs.
The field was not mapped correctly during the Resolve Custom Field Conflicts screen.
CMJ defaults to Create new field if a matching field isn’t selected.
Multiple fields with the same name exist after deployment, leading to conflict in internal mappings and UI duplication.
A snapshot was re-deployed without cleaning up the previously deployed artifacts.
Solution
Run an Integrity Check
Run CMJ’s built-in integrity check to identify misconfigured or duplicated fields:
Go to CMJ > Integrity Check
Select System Scope
Review violations:
Duplicate custom field
Inconsistent screen schemes
Field mapping issues
Reference: Integrity Check Guide
Identify and resolve custom field conflicts
In CMJ, re-import the snapshot but pause at the “ Custom Field Conflict Detection” screen.
For the field, ex,
customfield_10330or other duplicates:Do not leave the default Create new field selected unless a new field is intended.
Use the drop-down mapping table:
Left: fields from snapshot
Right: select the corresponding field from the target
Map based on name, type, and expected usage.
Clear duplicates in Jira
If duplicate fields already exist:
Go to Jira Admin > Custom Fields.
Search for duplicates with the same name (e.g., “Rendszer”).
Delete duplicates after:
Verifying they are not used in any active screens, workflows, or issues
Backing up configurations
If a field is in use and cannot be deleted:
Rename it temporarily to avoid confusion
Remove from all screens
Mark as inactive