Introduction When synchronizing Epics from Clarity to Jira Align using ConnectAll, the sync fails with an API error indicating invalid field values for mandatory Jira Align fields.
Symptoms The ConnectAll logs show the following exception: java.lang.Exception: Exception when trying to create record due to the error "Cannot create epic. Value for primaryProgramId is invalid. Value for ownerId is invalid. Value for processStepId is invalid."
This error occurs when the data being sent to Jira Align does not meet the platform's mandatory requirements or scope constraints:
To resolve this synchronization failure, follow these steps:
ownerId in Jira Align belongs to the correct Program and Portfolio associated with the Epic.primaryProgramId, ownerId, and processStepId are correctly mapped in the CloudJA_to_Clarity_Epics_Bi_Sync automation.