After switching the Jira REST API version from v3 to v2, we got the following fatal error:
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Tuleap\Timetracking\JiraImporter\Worklog\WorklogComment::buildFromAPIResponse() must be of the type array, string given, called in /usr/share/tuleap/plugins/timetracking/include/Timetracking/JiraImporter/Worklog/Worklog.php on line 96 and defined in /usr/share/tuleap/plugins/timetracking/include/Timetracking/JiraImporter/Worklog/WorklogComment.php:41
Stack trace:
#0 /usr/share/tuleap/plugins/timetracking/include/Timetracking/JiraImporter/Worklog/Worklog.php(96): Tuleap\Timetracking\JiraImporter\Worklog\WorklogComment::buildFromAPIResponse()
#1 /usr/share/tuleap/plugins/timetracking/include/Timetracking/JiraImporter/Worklog/WorklogRetriever.php(65): Tuleap\Timetracking\JiraImporter\Worklog\Worklog::buildFromAPIResponse()
#2 /usr/share/tuleap/plugins/timetracking/include/Timetracking/JiraImporter/JiraXMLExport.php(122): Tuleap\Timetracking\JiraImporter\Worklog\WorklogRetriever->getIssueWorklogsFromAPI()
#3 /usr/share/tuleap/plugins/timetracking/include/Timetracking/JiraI in /usr/share/tuleap/plugins/timetracking/include/Timetracking/JiraImporter/Worklog/WorklogComment.php on line 41