The Timesheet Integration job is failing for certain users. The failure is isolated to users who are associated with a large number of teams in Rally where it results in the generation of more than 50 individual time entries for a single timesheet period and resource.
Scenario:
A single resource is allocated to many teams (one user allocated to 15 Rally Teams). This results in the Timesheet Integration job trying to create more than 50 entries on user's timesheet.
ERROR 202x-06-yy 17:59:40,850 [Dispatch Timesheet Integration Job : [email protected]. ffff.ggg)] ppm.rest (clarity:[email protected]:999999__B444666YYY-234A-444-1234-xxxyyyggg12345:Timesheet Integration Job) () CustomerResourceHandler :: exception occurred while performing action:create
com.ca.ppm.rest.exception.BadRequestException: API-1002 : Can only process 50 records at a time.
Error executing job: 12739291
java.io.IOException: 400
api.maxRecordsProcessError
API-1002 : Can only process 50 records at a time.
at com.ca.ppm.rest.client.RestApiJavaClient.validateResponse(RestApiJavaClient.java:366)
at com.ca.ppm.rest.client.RestApiJavaClient.doPost(RestApiJavaClient.java:211)
at com.ca.ppm.integrations.connector.ClarityConnector.createTimeEntries(ClarityConnector.java:2214)
at com.ca.ppm.integrations.timesheet.RallyTimesheetsCreator.createTimeEntries(RallyTimesheetsCreator.java:305)
at com.ca.ppm.integrations.timesheet.RallyTimesheetsCreator.populateTimesheets(RallyTimesheetsCreator.java:205)
at com.ca.ppm.integrations.timesheet.RallyTimesheetsCreator.createTimesheet(RallyTimesheetsCreator.java:114)
Error while adding TimeEntries to Timesheet :: 21178771 with JSON payload {"d":[{".......}]}
v16.3.1
Due to DE172457
Fixed in v16.3.3