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/820.json

416 lines
12 KiB

{
"_type": "WorkPackage",
"_links": {
"self": {
"href": "/api/v3/work_packages/820",
10 years ago
"title": "66666"
10 years ago
},
"delete": {
"href": "/work_packages/bulk?ids=820",
"method": "delete",
10 years ago
"title": "Delete 66666"
},
"log_time": {
"href": "/work_packages/820/time_entries/new",
"type": "text/html",
10 years ago
"title": "Log time on 66666"
},
"duplicate": {
"href": "/projects/seeded_project/work_packages/new?copy_from=820",
"type": "text/html",
10 years ago
"title": "Duplicate 66666"
},
"move": {
"href": "/work_packages/820/move/new",
"type": "text/html",
10 years ago
"title": "Move 66666"
},
"author": {
"href": "/api/v3/users/5",
10 years ago
"title": "Freida Fay - Christine6938"
},
"availableWatchers": {
"href": "/api/v3/work_packages/820/available_watchers",
"title": "Available Watchers"
},
"watch": {
"href": "/api/v3/work_packages/820/watchers",
"method": "post",
10 years ago
"data": {
"user_id": 1
},
"title": "Watch work package"
},
"addWatcher": {
"href": "/api/v3/work_packages/820/watchers{?user_id}",
"method": "post",
"title": "Add watcher",
"templated": true
},
"addRelation": {
"href": "/api/v3/work_packages/820/relations",
"method": "post",
"title": "Add relation"
},
"addChild": {
"href": "/projects/seeded_project/work_packages/new?work_package%5Bparent_id%5D=820",
"type": "text/html",
10 years ago
"title": "Add child of 66666"
},
"changeParent": {
"href": "/api/v3/work_packages/820",
"method": "patch",
10 years ago
"title": "Change parent of 66666"
},
"addComment": {
"href": "/api/v3/work_packages/820/activities",
"method": "post",
"title": "Add comment"
10 years ago
},
"parent": {
10 years ago
"href": "/api/v3/work_packages/54",
"title": "asd"
10 years ago
},
"timeEntries": {
"href": "/work_packages/820/time_entries",
"type": "text/html",
"title": "Time entries"
},
"project": {
"href": "/api/v3/projects/1",
"title": "Seeded Project"
},
"schema": {
"href": "/api/v3/work_packages/schemas/1-7"
},
"revisions": {
"href": "/api/v3/work_packages/820/revisions"
},
"attachments": {
"href": "/api/v3/work_packages/820/attachments"
},
"activities": {
"href": "/api/v3/work_packages/820/activities"
}
},
"id": 820,
"subject": "66666",
"type": "Feature",
"description": {
"format": "textile",
"html": "<p><a href=\"/work_packages/54\" class=\"issue work_package status-4 priority-2 parent\" title=\"asd (to be scheduled)\">#54</a><br />2</p>",
"raw": "#54\n2"
},
"priority": "Normal",
"startDate": "2014-10-23",
"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
10 years ago
},
{
"name": "aut mollitia",
"format": "text",
"value": null
10 years ago
},
{
"name": "est exercitationem",
"format": "text",
"value": null
}
],
"_embedded": {
10 years ago
"status": {
10 years ago
"name": "rejected",
"isClosed": true
},
"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",
"email": "elwyn_dickens@gulgowskicasper.biz",
"avatar": "",
"createdAt": "2014-11-05T15:56:820Z",
"updatedAt": "2014-11-05T15:56:820Z",
"status": 1
10 years ago
},
"activities": {
"_type": "Collection",
"_links": {
"self": { "href": "/api/v3/work_packages/820/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": "Progress (%) changed from 0 to 0",
"html": "<strong>Progress (%)</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"
}
]
10 years ago
}
},
10 years ago
"version": {
"_type": "Version",
"_links": {
"self": {
"href": "/api/v3/versions/1",
"title": "v2"
},
"definingProject": {
"href": null
},
"availableInProjects": {
"href": "/api/v3/versions/1/projects"
}
},
"id": 1,
"name": "v2",
"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/820/attachments"
}
},
"_type" : "Collection",
"total" : 0,
"count" : 0,
"_embedded" : {
"elements" : []
}
},
10 years ago
"relations": []
}
}