update_task
Update Task
TASK-01: Partial update. Fields: title, description, assignee_id, due_date, priority, labels, recurrence_rule, sprint_id, epic_id, task_type, start_date, estimated_hours, actual_hours, actual_hours_overridden, bug_environment, bug_app_version, bug_steps_to_reproduce, story_points.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"id": "Id",
"organization_id": "Organization Id",
"title": "Title",
"priority": "Priority",
"labels": [
"string"
],
"created_at": "Created At",
"task_type": "Task Type",
"actual_hours_overridden": true
}
```
**Output Schema:**
```json
{
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"organization_id": {
"type": "string",
"title": "Organization Id"
},
"project_id": {
"title": "Project Id"
},
"title": {
"type": "string",
"title": "Title"
},
"description": {
"title": "Description"
},
"assignee_id": {
"title": "Assignee Id"
},
"due_date": {
"title": "Due Date"
},
"priority": {
"type": "string",
"title": "Priority"
},
"current_state_id": {
"title": "Current State Id"
},
"labels": {
"items": {
"type": "string"
},
"type": "array",
"title": "Labels"
},
"parent_task_id": {
"title": "Parent Task Id"
},
"recurrence_rule": {
"title": "Recurrence Rule"
},
"created_at": {
"type": "string",
"title": "Created At"
},
"risk_score": {
"title": "Risk Score"
},
"risk_level": {
"title": "Risk Level"
},
"risk_factors": {
"title": "Risk Factors"
},
"task_type": {
"type": "string",
"title": "Task Type",
"default": "task"
},
"task_number": {
"title": "Task Number"
},
"project_key": {
"title": "Project Key"
},
"start_date": {
"title": "Start Date"
},
"estimated_hours": {
"title": "Estimated Hours"
},
"actual_hours": {
"title": "Actual Hours"
},
"actual_hours_overridden": {
"type": "boolean",
"title": "Actual Hours Overridden",
"default": false
},
"bug_environment": {
"title": "Bug Environment"
},
"bug_app_version": {
"title": "Bug App Version"
},
"bug_steps_to_reproduce": {
"title": "Bug Steps To Reproduce"
},
"story_points": {
"title": "Story Points"
}
},
"type": "object",
"required": [
"id",
"organization_id",
"project_id",
"title",
"description",
"assignee_id",
"due_date",
"priority",
"current_state_id",
"labels",
"parent_task_id",
"recurrence_rule",
"created_at"
],
"title": "TaskOut"
}
```
**422**: Validation Error
Content-Type: application/json
**Example Response:**
```json
{
"detail": [
{
"loc": [],
"msg": "Message",
"type": "Error Type",
"ctx": {}
}
]
}
```
**Output Schema:**
```json
{
"properties": {
"detail": {
"items": {
"properties": {
"loc": {
"items": {},
"type": "array",
"title": "Location"
},
"msg": {
"type": "string",
"title": "Message"
},
"type": {
"type": "string",
"title": "Error Type"
},
"input": {
"title": "Input"
},
"ctx": {
"type": "object",
"title": "Context"
}
},
"type": "object",
"required": [
"loc",
"msg",
"type"
],
"title": "ValidationError"
},
"type": "array",
"title": "Detail"
}
},
"type": "object",
"title": "HTTPValidationError"
}
```