Synchronize Agile Central job fails with error: There was a problem syncing tasks for the CA PPM project:projmgr.TASK_STATUS_INVALID_ACTUALS PRJ-07234: Invalid status for task having non-zero actuals

Document ID : KB000009045
Last Modified Date : 25/04/2018
Show Technical Document Details
Issue:

When running the Synchronize Agile Central job in PPM, it fails with the following error:

There was a problem syncing tasks for the CA PPM project:projmgr.TASK_STATUS_INVALID_ACTUALS
PRJ-07234: Invalid status for task having non-zero actuals.

api.internalError 
java.lang.String cannot be cast to java.lang.Number

Steps to Reproduce:

1. Configure an Agile Central (AC) integration in PPM as AC to PPM.
2. Create a project in PPM with start date = the first day of the month and finish date = the last day of the month. Associate it to the AC integration.
3. Run the Synchronize Agile Central job.
4. Create a feature in AC under the initiative created in AC.
5. Create a user story for the feature and change it to in-progress. Note that the feature actual start date is now today's date.
6. Run the Synchronize Agile Central job. Note that the task start date in PPM has today's date.
7. Add a team member to the project and assign the team member to the task in PPM.
8. Create a timesheet and report time for the resource using tomorrow's date. Post the timesheet.
9. Make sure the timesheet is posted and the task start date is read-only. Note that the task start date is now tomorrow's date.
10. Change the user story in AC to Accepted. Note that the feature actual start date and actual end date in AC are now today's date.
11. Run the Synchronize Agile Central job.

Expected Results:  Synchronize Agile Central job completes and task is updated with the information from the feature
Actual Results:  Synchronize Agile Central job fails with the following error:

There was a problem syncing tasks for the CA PPM project:projmgr.TASK_STATUS_INVALID_ACTUALS
PRJ-07234: Invalid status for task having non-zero actuals.

Cause:

This is caused by Defect DE37269.

 

Resolution:

This defect is fixed in CA PPM 15.4. (In 15.2, this is fixed in 15.2 patch 7 and higher). 

Workaround:.

As this defect is due to tasks with actuals where the start date of the task in PPM is later then the feature actual start date, the workaround is to change a story under the related feature as in-progress and then accept it again. It will update the actual finish date in Agile Central to the current date and the job will stop trying to update the task start date with an earlier date.

Additional Information:

Reference KB000008694 - Rally Synchronization Job fails with error referencing Attribute 'Agile Milestones' has an invalid Lookup Value