ynput / ayon-ftrack

Apache License 2.0
3 stars 9 forks source link

To AYON Sync: Sync task assignees #155

Closed iLLiCiTiT closed 1 day ago

iLLiCiTiT commented 1 day ago

Changelog Description

Sync ftrack to AYON can sync task assignees.

Additional review information

If users are synchronized it does allow to sync users from ftrack to AYON. During action are synchronized assignees from ftrack as are. If AYON user assigned on task cannot be mapped to ftrack user it is kept in AYON. Event processing just removed/adds assignee based on information from event.

Testing notes:

Preparation

Only step 2 is required when using service tools.

  1. If you're going to test PR using docker images, you have to first change version in package.py to e.g. 1.2.2-dev.
  2. Create addon package, upload it to server and use in bundle (+ copy settings).
  3. Build docker leecher and process images.
  4. Create services in AYON server.
  5. Run ASH.

Functionality testing

  1. Make sure to run AYON Admin - Sync users to AYON first, so you have actually users to map.
  2. Enabled auto sync on a project.
  3. That should already sync assignees to AYON.
  4. Change assignee on a task in ftrack.
  5. The change should be propagated to AYON.
tanh609 commented 1 day ago

Awesome work. Thank you.

64qam commented 1 day ago

Assignees are synced, but their names are not visible in the Editor, except for mine.

image
iLLiCiTiT commented 1 day ago

Assignees are synced, but their names are not visible in the Editor, except for mine.

That looks like a bug in Users sync action. Different PR.