STEPS TO REPRODUCE:
1. Take any user on the system
2. Ensure the Track Mode is PPM and the Open For Time Entry flag is set to Open
3. Create a project > Add the user on step 1 to the team and assign him to a project task
4. Create an incident and assign the incident to the user on step 1
5. Go to the Classic UI timesheet link
This does not affect the Modern UX timesheets as those do not allow incident time tracking
6. Add the project task and the incidents created to the timesheet
7. Enter some actuals to both tasks.
8. Submit and Approve the timesheet
9. Run the Post Timesheet job (note, the job requires the timesheet to be approved for at least 5 minutes in order for the job to post it)
10. Timesheet is posted
11. Adjust the timesheet
12. Adjust the timesheet incident entrynry to 0 hours
13. Submit and Approve the timesheet
14. Run the Post Timesheet job (note, the job requires the timesheet to be approved for at least 5 minutes in order for the job to post it)
Expected result: Timesheet to be posted
Actual result: Timesheet can not be posted
Clarity PPM 15.6.1, 15.7.0
This is caused by DE52939
This is fixed in 15.8.1
On the bg-ca.log file you will find errors like:
ERROR 2020-01-30 10:09:53,858 [Dispatch Post Timesheets : [email protected] (tenant=clarity)] xql2.xbl (clarity:admin:5726601__C2AF9FB2-D2C3-4181-B1CD-B133902AB0BD:Post Timesheets) ****POSTTIMESHEET: Couldn't post adjustmented timesheet-->adjustedTimesheetID=5019046; adjustedTimeEntryID=5020217; teamID=5019000