Synchronize Agile Central job fails when Projects or Tasks are associated to Milestones

Document ID : KB000093208
Last Modified Date : 27/04/2018
Show Technical Document Details
Issue:
Here are the steps to reproduce this issue:

1. In PPM, create an AC to PPM integration with Agile Central, providing the Workspace, Project and Owner 
2. Create a project in PPM and link it to the integration created above 
3. Run the Synchronize Agile Central job (Rally Synchronization job) 
4. In Agile Central, add more than 20 milestones to the project used for the integration 
5. Still in Agile Central, create 3 or 4 features to the initiative created for the PPM project 
6. Add all milestones (more than 20) to the features (divide them by each feature) 
7. Run the Synchronize Agile Central job again 

Expected Result: Features are created with the respective milestones and job completes. 

Actual Result:
Job fails with the following error because not all milestones are loaded from Agile Central:

java.lang.ClassCastException 
com.niku.nmc.agile.AgileIOException: 500 
api.internalError 
API-1019 : Could not process the request due to internal error. 
at com.ca.ppm.rest.client.RestApiJavaClient.validateResponse(RestApiJavaClient.java:245) 
at com.ca.ppm.rest.client.RestApiJavaClient.doPatch(RestApiJavaClient.java:158) 
at com.ca.ppm.agl.connector.ClarityConnector.updateTask(ClarityConnector.java:682) 
at com.ca.ppm.agl.services.TaskSyncManager.syncClarityTasks(TaskSyncManager.java:234) 
at com.ca.ppm.agl.services.TaskSyncManager.sync(TaskSyncManager.java:97) 
Environment:
CA PPM version 15.2 and 15.3.
Cause:
This is caused due to a defect, DE36575.
Resolution:
Defect DE36575 has been fixed in 15.4. It has also been fixed in 15.3 (Patch 1).