Skip to main content

backlog_tasks

Creates, updates, deletes, gets or lists a backlog_tasks resource.

Overview

Namebacklog_tasks
TypeResource
Idaws.devops_agent.backlog_tasks

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
agent_space_idstringThe unique identifier for the agent space containing this task
created_atstring (date-time)Timestamp when this task was created
descriptionstringOptional detailed description of the task
execution_idstringThe execution ID associated with this task, if any
has_linked_tasksbooleanIndicates if this task has other tasks linked to it
metadataobjectOptional metadata for the task
primary_task_idstringThe task ID of the primary investigation this task is linked to
prioritystringPriority levels for tasks, from highest to lowest urgency (CRITICAL, HIGH, MEDIUM, LOW, MINIMAL)
referenceobjectOptional reference information linking this task to external systems
statusstringThe current status of this task (PENDING_TRIAGE, LINKED, PENDING_START, IN_PROGRESS, PENDING_CUSTOMER_APPROVAL, COMPLETED, FAILED, TIMED_OUT, CANCELED, SKIPPED)
status_reasonstringExplanation for why the task status was changed (e.g., linked reason)
support_metadataobjectOptional support metadata for the task
task_idstringThe unique identifier for this task
task_typestringTypes of tasks that can be created in the backlog (INVESTIGATION, EVALUATION, RELEASE_READINESS_REVIEW, RELEASE_TESTING)
title_stringThe title of the task
updated_atstring (date-time)Timestamp when this task was last updated
versionintegerVersion number for optimistic locking

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_backlog_taskselectagent_space_id, task_id, regionGets a backlog task for the specified agent space and task id
list_backlog_tasksselectagent_space_id, regionLists backlog tasks in the specified agent space with optional filtering and sorting
create_backlog_taskinsertagent_space_id, region, taskType, title, priorityCreates a new backlog task in the specified agent space
update_backlog_taskupdateagent_space_id, task_id, regionUpdate an existing backlog task.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
agent_space_idstringThe unique identifier for the agent space containing the task
regionstringAWS region (default: us-east-1)
task_idstringThe unique identifier of the task to update

SELECT examples

Gets a backlog task for the specified agent space and task id

SELECT
agent_space_id,
created_at,
description,
execution_id,
has_linked_tasks,
metadata,
primary_task_id,
priority,
reference,
status,
status_reason,
support_metadata,
task_id,
task_type,
title_,
updated_at,
version
FROM aws.devops_agent.backlog_tasks
WHERE agent_space_id = '{{ agent_space_id }}' -- required
AND task_id = '{{ task_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a new backlog task in the specified agent space

INSERT INTO aws.devops_agent.backlog_tasks (
reference,
taskType,
title,
description,
priority,
clientToken,
agent_space_id,
region
)
SELECT
'{{ reference }}',
'{{ taskType }}' /* required */,
'{{ title }}' /* required */,
'{{ description }}',
'{{ priority }}' /* required */,
'{{ clientToken }}',
'{{ agent_space_id }}',
'{{ region }}'
RETURNING
task
;

UPDATE examples

Update an existing backlog task.

UPDATE aws.devops_agent.backlog_tasks
SET
taskStatus = '{{ taskStatus }}',
clientToken = '{{ clientToken }}'
WHERE
agent_space_id = '{{ agent_space_id }}' --required
AND task_id = '{{ task_id }}' --required
AND region = '{{ region }}' --required
RETURNING
task;