Pivot Report does not work when grouped by custom field unless custom field is explicitly selected as extra field

Description

Hi,
I've a problem with CustomField in Pivot Report.
CustomFields is "Text Field (single line)" type and his name is "SubProject".
When I add a field to Grouping in Timesheet and press Apply, the WorkLog Report is displayed.
Everything is alright.

But when I select "Pivot Report" in the menu, I get a blank page and an attached error.

Environment

None

Priority

Major

Assignee

Deniz Oğuz

Reporter

Deniz Oğuz

Affects versions

None

Fix versions

Labels

None

Source

None

Jira Version

Database Type/Version

MySQL

Browser Type/Version

Chrome, Firefox
Configure