create_backlog_task
¶
create_backlog_task(
agent_space_id: AgentSpaceIdentifier,
task_type: TaskType,
title: BacklogTaskTitle,
priority: Priority,
*,
config_overrides: Optional[DevOpsAgentClientConfig] = None,
reference: Optional[ReferenceInput] = None,
description: Optional[BacklogTaskDescription] = None,
client_token: Optional[str] = None,
) -> CreateBacklogTaskResponse
Creates a new backlog task in the specified agent space
Parameters:
-
agent_space_id(AgentSpaceIdentifier) –The unique identifier for the agent space where the task will be created
-
reference(Optional[ReferenceInput], default:None) –Optional reference information for the task
-
task_type(TaskType) –The type of task being created
-
title(BacklogTaskTitle) –The title of the backlog task
-
description(Optional[BacklogTaskDescription], default:None) –Optional detailed description of the task
-
priority(Priority) –The priority level of the task
-
client_token(Optional[str], default:None) –Client-provided token for idempotent operations
Raises:
-
AccessDeniedException–Access to the requested resource is denied due to insufficient permissions.
-
ConflictException–The request conflicts with the current state of the resource.
-
ContentSizeExceededException–This exception is thrown when the content size exceeds the allowed limit.
-
InternalServerException–This exception is thrown when an unexpected error occurs in the processing of a request.
-
InvalidParameterException–One or more parameters provided in the request are invalid.
-
ResourceNotFoundException–The requested resource could not be found.
-
ServiceQuotaExceededException–The request would exceed the service quota limit.
-
ThrottlingException–The request was throttled due to too many requests. Please slow down and try again.
-
ValidationException–The input fails to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_devops_agent/_services/dev_ops_agent.py
492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 | |