Deployment Failure During Configuration Analysis while CMJ Cloud to Cloud Migration.
Description
Users reported a failure during the analysis phase while deploying project configurations using Configuration Manager for Jira (CMJ) Cloud from Sandbox to Production and vice versa. The issue was consistent across environments despite previous successful deployments.
Diagnosis
During deployment analysis, CMJ creates HTTP 400 errors due to issues interacting with the Jira Cloud REST API. The errors are linked to:
A workflow name containing an invalid character.
A missing group reference (
CMJC-CreateSharedObjects) used for permission grants.
Cause
Invalid workflow name
The workflow "ITS: \tCompany Control request workflow" contained a tab character (\t), which is invalid according to the Jira Cloud REST API specifications.
Missing group reference
CMJ attempted to assign permissions to a temporary group (CMJC-CreateSharedObjects), but it was either missing or deleted, resulting in a Group does not exist error.
Solution
Fix the invalid workflow name
Go to the source Jira Cloud instance.
Navigate to Jira Settings > Issues > Workflows.
Locate the workflow with a tab character:
ITS: <tab>Company Control request workflowRemove the tab and rename the workflow to:
ITS: Company Control request workflowSave and publish the workflow.
Re-run the analysis in CMJ. The error should be resolved.
Resolve the missing group issue
Navigate to CMJ > Manage Deployments > Analyze Changes.
Identify and remove references to the missing group
CMJC-CreateSharedObjects.Go to CMJ > Advanced Settings in both source and target environments.
Use Clear Cache or Refresh Metadata to refresh CMJ's internal state.
Re-trigger the analysis. CMJ will automatically recreate the necessary temporary group.