OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/frontend/tests/integration/mocks/work-packages/823.json

456 lines
13 KiB

{
"_type": "WorkPackage",
"_links": {
"self": {
"href": "/api/v3/work_packages/823",
"title": "66666"
},
"update": {
"href": "/api/v3/work_packages/823/form",
"method": "post",
"title": "Update 66666"
},
"updateImmediately": {
"href": "/api/v3/work_packages/823",
"method": "patch",
"title": "Update 66666"
},
"delete": {
"href": "/work_packages/bulk?ids=823",
"method": "delete",
"title": "Delete 66666"
},
"log_time": {
"href": "/work_packages/823/time_entries/new",
"type": "text/html",
"title": "Log time on 66666"
},
"duplicate": {
"href": "/projects/seeded_project/work_packages/new?copy_from=823",
"type": "text/html",
"title": "Duplicate 66666"
},
"move": {
"href": "/work_packages/823/move/new",
"type": "text/html",
"title": "Move 66666"
},
"author": {
"href": "/api/v3/users/5",
"title": "Freida Fay - Christine6938"
},
"availableWatchers": {
"href": "/api/v3/work_packages/823/available_watchers",
"title": "Available Watchers"
},
"watch": {
"href": "/api/v3/work_packages/823/watchers",
"method": "post",
"data": {
"user_id": 1
},
"title": "Watch work package"
},
"addWatcher": {
"href": "/api/v3/work_packages/823/watchers{?user_id}",
"method": "post",
"title": "Add watcher",
"templated": true
},
"addRelation": {
"href": "/api/v3/work_packages/823/relations",
"method": "post",
"title": "Add relation"
},
"addChild": {
"href": "/projects/seeded_project/work_packages/new?work_package%5Bparent_id%5D=823",
"type": "text/html",
"title": "Add child of 66666"
},
"changeParent": {
"href": "/api/v3/work_packages/823",
"method": "patch",
"title": "Change parent of 66666"
},
"addComment": {
"href": "/api/v3/work_packages/823/activities",
"method": "post",
"title": "Add comment"
},
"parent": {
"href": "/api/v3/work_packages/54",
"title": "asd"
},
"timeEntries": {
"href": "/work_packages/823/time_entries",
"type": "text/html",
"title": "Time entries"
},
"version": {
"href": "/api/v3/versions/1",
"title": "alpha"
},
"project": {
"href": "/api/v3/projects/1",
"title": "Seeded Project"
},
"schema": {
"href": "/api/v3/work_packages/schemas/1-7"
},
"attachments": {
"href": "/api/v3/work_packages/823/attachments"
},
"activities": {
"href": "/api/v3/work_packages/823/activities"
}
},
"id": 823,
"lockVersion": 119,
"subject": "66666",
"type": "Feature",
"description": {
"format": "textile",
"html": "<p><a href=\"\" onclick=\"return false;\" class=\"issue work_package status-4 priority-2 parent\" title=\"harum temporibus sit sit autem atque optio vitaelasd22ss2 (to be scheduled)\">#54</a></p>",
"raw": "#54"
},
"priority": "Normal",
"startDate": null,
"dueDate": "2014-12-27",
"estimatedTime": "PT0S",
"spentTime": "PT0S",
"percentageDone": 0,
"parentId": 54,
"createdAt": "2014-11-05T15:56:53Z",
"updatedAt": "2014-11-21T08:48:57Z",
"customProperties": [
{
"name": "dolorum quidem",
"format": "text",
"value": null
},
{
"name": "aut mollitia",
"format": "text",
"value": null
},
{
"name": "est exercitationem",
"format": "text",
"value": null
}
],
"_embedded": {
"version":{
"_type":"Version",
"_links":{
"self":{
"href":"/api/v3/versions/2",
"title":"v2"
},
"definingProject":{
"href":"/api/v3/projects/1",
"title":"Seeded Project"
},
"availableInProjects":{
"href":"/api/v3/versions/2/projects"
}
},
"id":2,
"name":"v2",
"description":{
"format":"plain",
"raw":""
},
"startDate":"2015-02-02",
"endDate":null,
"status":"open",
"createdAt":"2015-02-18T14:53:28+00:00",
"updatedAt":"2015-02-18T14:53:28+00:00"
},
"status": {
"name": "specified",
"isClosed": false
},
"priority": {
"name": "High"
},
"author": {
"_type": "User",
"_links": {
"self": {
"href": "/api/v3/users/5",
"title": "Freida Fay - Christine6938"
}
},
"id": 5,
"login": "Christine6938",
"subtype": "User",
"firstName": "Freida",
"lastName": "Fay",
"name": "Freida Fay",
"mail": "elwyn_dickens@gulgowskicasper.biz",
"avatar": "",
"createdAt": "2014-11-05T15:56:823Z",
"updatedAt": "2014-11-05T15:56:823Z",
"status": 1
},
"activities": {
"_type": "Collection",
"_links": {
"self": { "href": "/api/v3/work_packages/823/activities" }
},
"total": 4,
"count": 4,
"_embedded": {
"elements": [
{
"_type": "Activity",
"_links": {
"self": {
"href": "/api/v3/activities/333",
"title": "333"
},
"workPackage": {
"href": "/api/v3/work_packages/65",
"title": "veritatis voluptas hic qui praesentium tempora illum omnis"
},
"user": {
"href": "/api/v3/users/3",
"title": "Anonymous - "
},
"update": {
"href": "/api/v3/activities/333",
"method": "patch",
"title": "333"
}
},
"id": 333,
"comment": {
"format": "textile",
"raw": "",
"html": ""
},
"details": [
{
"format": "custom",
"raw": "Type set to Phase",
"html": "<strong>Type</strong> set to <i title=\"Phase\">Phase</i>"
},
{
"format": "custom",
"raw": "Project set to Seeded Project",
"html": "<strong>Project</strong> set to <i title=\"Seeded Project\">Seeded Project</i>"
},
{
"format": "custom",
"raw": "Subject set to veritatis voluptas hic qui praesentium tempora illum omnis",
"html": "<strong>Subject</strong> set to <i title=\"veritatis voluptas hic qui praesentium tempora illum omnis\">veritatis voluptas hic qui praesentium tempora illum omnis</i>"
},
{
"format": "custom",
"raw": "Description set (/journals/333/diff/description)",
"html": "<strong>Description</strong> set (<a href=\"/journals/333/diff/description\" class=\"description-details\">Details</a>)"
},
{
"format": "custom",
"raw": "Due date set to 04/29/2015",
"html": "<strong>Due date</strong> set to <i title=\"04/29/2015\">04/29/2015</i>"
},
{
"format": "custom",
"raw": "Status set to new",
"html": "<strong>Status</strong> set to <i title=\"new\">new</i>"
},
{
"format": "custom",
"raw": "Priority set to Normal",
"html": "<strong>Priority</strong> set to <i title=\"Normal\">Normal</i>"
},
{
"format": "custom",
"raw": "Author set to Alexandrine Heidenreich",
"html": "<strong>Author</strong> set to <i title=\"Alexandrine Heidenreich\">Alexandrine Heidenreich</i>"
},
{
"format": "custom",
"raw": "% done changed from 0 to 0",
"html": "<strong>% done</strong> changed from <i title=\"0\">0</i> to <i title=\"0\">0</i>"
},
{
"format": "custom",
"raw": "Start date set to 02/17/2015",
"html": "<strong>Start date</strong> set to <i title=\"02/17/2015\">02/17/2015</i>"
}
],
"version": 1,
"createdAt": "2015-02-13T10:09:07+00:00"
},
{
"_type": "Activity",
"_links": {
"self": {
"href": "/api/v3/activities/816",
"title": "816"
},
"workPackage": {
"href": "/api/v3/work_packages/65",
"title": "veritatis voluptas hic qui praesentium tempora illum omnis"
},
"user": {
"href": "/api/v3/users/1",
"title": "OpenProject Admin - admin"
},
"update": {
"href": "/api/v3/activities/816",
"method": "patch",
"title": "816"
}
},
"id": 816,
"comment": {
"format": "textile",
"raw": "",
"html": ""
},
"details": [
{
"format": "custom",
"raw": "Status changed from new to in progress",
"html": "<strong>Status</strong> changed from <i title=\"new\">new</i> to <i title=\"in progress\">in progress</i>"
}
],
"version": 2,
"createdAt": "2015-04-07T13:36:43+00:00"
},
{
"_type": "Activity::Comment",
"_links": {
"self": {
"href": "/api/v3/activities/817",
"title": "817"
},
"workPackage": {
"href": "/api/v3/work_packages/65",
"title": "veritatis voluptas hic qui praesentium tempora illum omnis"
},
"user": {
"href": "/api/v3/users/1",
"title": "OpenProject Admin - admin"
},
"update": {
"href": "/api/v3/activities/817",
"method": "patch",
"title": "817"
}
},
"id": 817,
"comment": {
"format": "textile",
"raw": "I have a comment",
"html": "<p>I have a comment</p>"
},
"details": [],
"version": 3,
"createdAt": "2015-04-07T13:37:09+00:00"
},
{
"_type": "Activity::Comment",
"_links": {
"self": {
"href": "/api/v3/activities/818",
"title": "818"
},
"workPackage": {
"href": "/api/v3/work_packages/65",
"title": "veritatis voluptas hic qui praesentium tempora illum omnis"
},
"user": {
"href": "/api/v3/users/1",
"title": "OpenProject Admin - admin"
},
"update": {
"href": "/api/v3/activities/818",
"method": "patch",
"title": "818"
}
},
"id": 818,
"comment": {
"format": "textile",
"raw": "And another one",
"html": "<p>And another one</p>"
},
"details": [],
"version": 4,
"createdAt": "2015-04-07T13:37:33+00:00"
}
]
}
},
"version": {
"_type": "Version",
"_links": {
"self": {
"href": "/api/v3/versions/1",
"title": "alpha"
},
"definingProject": {
"href": "/api/v3/projects/1",
"title": "Seeded Project"
},
"availableInProjects": {
"href": "/api/v3/versions/1/projects"
}
},
"id": 1,
"name": "alpha",
"description": {
"format": "plain",
"raw": ""
},
"startDate": "2014-10-23",
"endDate": null,
"status": "open",
"createdAt": "01/21/2015/ 09:30 AM",
"updatedAt": "01/21/2015/ 09:30 AM"
},
"project": {
"_type": "Project",
"_links": {
"self": {
"href": "/api/v3/projects/1",
"title": "No Plugins Project"
},
"categories": {
"href": "/api/v3/projects/1/categories"
},
"versions": {
"href": "/api/v3/projects/1/versions"
}
},
"id": 1,
"identifier": "seeded-project",
"name": "Seeded Project",
"description": "",
"createdAt": "2014-04-30T13:28:51+00:00",
"updatedAt": "2014-04-30T13:28:51+00:00",
"type": null
},
"watchers": [],
"attachments" : {
"_links" : {
"self" : {
"href" : "/api/v3/work_packages/823/attachments"
}
},
"_type" : "Collection",
"total" : 0,
"count" : 0,
"_embedded" : {
"elements" : []
}
},
"relations": []
}
}