stable

Clone or download

Read-only

request #12617 Timetracking set on artifacts should be accessible with REST API

Introduce a new REST route that returns the time recorded for an artifact. Change-Id: Ifd0cd6e782ac1f049e3434053c2848e4a66ce538

Modified Files

Name
A plugins/timetracking/include/Timetracking/REST/v1/ArtifactTimeRetriever.php +137 −0 Go to diff View file
A plugins/timetracking/include/Timetracking/REST/v1/Exception/ArtifactDoesNotExistException.php +30 −0 Go to diff View file
A plugins/timetracking/include/Timetracking/REST/v1/Exception/ArtifactIDMissingException.php +30 −0 Go to diff View file
A plugins/timetracking/include/Timetracking/REST/v1/Exception/InvalidArgumentException.php +26 −0 Go to diff View file
A plugins/timetracking/include/Timetracking/REST/v1/Exception/NoTimetrackingForTrackerException.php +30 −0 Go to diff View file
A plugins/timetracking/include/Timetracking/REST/v1/Exception/UserCannotSeeTrackedTimeException.php +30 −0 Go to diff View file
M plugins/timetracking/include/Timetracking/REST/v1/TimetrackingResource.php +36 −0 Go to diff View file
A plugins/timetracking/phpunit/REST/v1/ArtifactTimeRetrieverTest.php +170 −0 Go to diff View file
A src/common/REST/v1/ArtifactTimeRepresentation.php +63 −0 Go to diff View file