Closed the-JJ closed 6 years ago
Connection::getWorkItems() fails because YouTrack by default returns a JSON response instead of XML response for timetracking/workitem endpoint.
Connection::getWorkItems()
timetracking/workitem
Can be fixed by sending Accept: application/xml request header
Accept: application/xml
Thank you!
Connection::getWorkItems()
fails because YouTrack by default returns a JSON response instead of XML response fortimetracking/workitem
endpoint.Can be fixed by sending
Accept: application/xml
request header