AlphaAlpha Docs

Update a task

Updates an existing task

PATCH
/hr/tasks/{id}
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "http://localhost:18080/api/v1/hr/tasks/string" \  -H "Content-Type: application/json" \  -d '{    "labels": [      "string"    ],    "links": [      {        "url": "string"      }    ],    "name": "string",    "priority": "LOW",    "status": "TODO",    "taskType": "TASK"  }'
{
  "assignee": {
    "avatar": "string",
    "department": "string",
    "email": "string",
    "fullName": "string",
    "id": "string",
    "jobTitle": "string"
  },
  "assigneeId": "string",
  "clientRef": "string",
  "completedAt": "2019-08-24T14:15:22Z",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "description": "string",
  "dueDate": "2019-08-24",
  "epic": {
    "color": "string",
    "id": "string",
    "name": "string"
  },
  "epicId": "string",
  "estimatedHours": 0.1,
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "feature": {
    "id": "string",
    "name": "string"
  },
  "featureId": "string",
  "id": "string",
  "labels": [
    "string"
  ],
  "links": [
    {
      "label": "string",
      "url": "string"
    }
  ],
  "name": "string",
  "number": "string",
  "order": 0.1,
  "priority": "LOW",
  "project": {
    "id": "string",
    "name": "string"
  },
  "projectId": "string",
  "sprint": {
    "id": "string",
    "name": "string"
  },
  "sprintId": "string",
  "status": "TODO",
  "storyPoints": 0,
  "taskType": "TASK",
  "tenantId": "string",
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}