search cancel

Agile Central Sync job fails - API-1019 error when Projects or Tasks are associated to Milestones in 15.2 and 15.3

book

Article ID: 93208

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

Rally Sync job fails with error API-1019: Could not process the request due to internal error when Projects or Tasks are associated to Milestones

Steps to Reproduce:

1. In Clarity PPM, create an Agile Central (AC) to PPM integration with Agile Central, providing the Workspace, Project and Owner 

2. Create a project in Clarity 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) 

Cause

This is caused by: DE36575

Environment

Clarity versions 15.2 and 15.3.

Resolution

  • Defect DE36575 has been fixed in 15.4.
  • It has also been fixed in 15.3 (Patch 1 and higher patches).

Additional Information

See also: Rally sync error API-1019 post upgrade to 15.7.1 for some projects