- Created by Vincent Thoulé, last modified on Aug 17, 2016
/rest/minyaaTime/1.0/worklog/create/{issueId}
Description | Create a Worklog for an Issue in respect of different Custom Minyaa Time Permissions (Delegate Log Work, Wokrlog Closure Period, Required/Allowed Worklgo Type) | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Method | POST | ||||||||||||||||||||||||||||||||||||||||||||||||
Content-Type | application/json | ||||||||||||||||||||||||||||||||||||||||||||||||
Parameters |
| ||||||||||||||||||||||||||||||||||||||||||||||||
HTTP 200 Return | On Worklog creation a JSON bean is returned : {"self":"http://localhost:8080/rest/minyaaTime/1.0/worklog/10623", "worklogId":10623, "timeLogged":900, "authorName":"dev1", "startDate":"2014-09-10T15:00:00.000+0200", "created":"2014-09-11T10:00:37.902+0200", "updated":"2014-09-11T10:00:37.902+0200", "updateAuthorName":"dev1", "worklogTypeId":"10000", "comment":"Hello", "commentLevel":"jira-developers"} {"self":"http://localhost:8080/rest/minyaaTime/1.0/worklog/10623", "worklogId":10623, "timeLogged":900, "authorName":"admin", "startDate":"2014-09-10T15:00:00.000+0200", "created":"2014-09-11T10:00:37.902+0200", "updated":"2014-09-11T10:00:37.902+0200", "updateAuthorName":"dev1", "worklogTypeId":"10000", "comment":"Hello", "projectRoleId":10000}
| ||||||||||||||||||||||||||||||||||||||||||||||||
HTTP 404 Return | In case of Validation error, the Error Collection is returned. [{"errorMessages":["Any Error Message"],"errors":{}}] |
On this page:
-
Home page:
Useful hint
See also ...
- No labels