cvat-ai / cvat

Annotate better with CVAT, the industry-leading data engine for machine learning. Used and trusted by teams at any scale, for data of any scale.
https://cvat.ai
MIT License
12.72k stars 3.02k forks source link

Assignee set to None in API response #8687

Open cile98 opened 2 weeks ago

cile98 commented 2 weeks ago

Actions before raising this issue

Steps to Reproduce

  1. Create project with a task
  2. Open task and assign job to a user
  3. Use CVAT API to get project id by name
    response = client.api_client.projects_api.list(name="test")
    project_id = response[0]["results"][0]["id"]
  4. List tasks
    tasks = client.api_client.tasks_api.list(project_id=project_id)
  5. Check assignee field value

Expected Behavior

I expected value to be equal to some ID or username

Possible Solution

No response

Context

No response

Environment

I'm using `app.cvat.ai`
cile98 commented 2 weeks ago

Actually even in UI, when I try to filter by assignee it won't work

bsekachev commented 2 weeks ago

Steps are not clear. You assign a job to a user, not a task. But expect the task to have a user assigned

cile98 commented 2 weeks ago

How can I assign a Task to a user? I didn't find that option anywhere. Also, task_api returns information about jobs, but none of them have an assignee field.

cile98 commented 2 weeks ago

My goal was to assign jobs via API to a specific user, but I couldn't figure out where to find the assignee_id necessary for this. So I wanted to check existing jobs that are assigned to figure out the value

yili-han-86 commented 1 week ago

My goal was to assign jobs via API to a specific user, but I couldn't figure out where to find the assignee_id necessary for this. So I wanted to check existing jobs that are assigned to figure out the value

Did you find a way to find where can find "assignee_id"? I also need that value to be used when creating a task. Your sharing will be appreciated.

cile98 commented 1 week ago

My goal was to assign jobs via API to a specific user, but I couldn't figure out where to find the assignee_id necessary for this. So I wanted to check existing jobs that are assigned to figure out the value

Did you find a way to find where can find "assignee_id"? I also need that value to be used when creating a task. Your sharing will be appreciated.

Unfortunately nothing yet, was hoping to get some reply here. I will share if I figure it out