For the complete documentation index, see llms.txt. This page is also available as Markdown.

assign_task

imerit_ango.sdk.SDK.

assign_task(project_id, task_ids, stage_filter, email)

Assign a list of tasks to a specific user.

Parameters

  • project_id: string

  • task_ids: List[str]

    • A list of task IDs to be assigned. Task IDs can be obtained from the UI, and from the get_tasks function.

    • Example: ['0000000aa0a00a0000aaaa0a', '0000000bb0b00b0000bbbb0b']

  • stage_filter: string

    • ID of the stage on which the assignee will work.

    • Example: "206f2f63-ac2d-4458-92d8-b84fd7264db3" or, in the case of the default labeling stage, "Label".

  • email: string

    • The email address of the project member who will be assigned to the task.

    • Example: 'user1@example.com'

Returns:

  • output: dict

    • A dictionary containing the result of the operation.

    • Including a status field indicating whether the request was successful and a data field containing the response payload with updated resources produced by the operation.

How to verify in Ango Hub?

After successfully executing the assign_task function, you can validate the changes directly in Ango Hub.

Navigate to: Projects → [Your Project] → Tasks

  • Filter the task using the Task ID or other relevant filters.

  • Confirm that the tasks have been assigned to the correct project member.

Changes made via the SDK are reflected in Ango Hub in near real-time. If updates are not immediately visible, please refresh the page.

Example

See also

get_tasks

Last updated