Skip to content

AYON to ftrack sync: Folders and tasks are created in ftrack#253

Draft
iLLiCiTiT wants to merge 3 commits into
developfrom
enhancement/247-yn-0321-sync-entities-created-in-ayon
Draft

AYON to ftrack sync: Folders and tasks are created in ftrack#253
iLLiCiTiT wants to merge 3 commits into
developfrom
enhancement/247-yn-0321-sync-entities-created-in-ayon

Conversation

@iLLiCiTiT
Copy link
Copy Markdown
Member

@iLLiCiTiT iLLiCiTiT commented Jan 15, 2026

Changelog Description

Sync created entities from AYON to ftrack.

Additional review information

Creation of entities in AYON is synchronized to ftrack. But it works ONLY as live update. We probably should look out how to allow creation of entities with sync action (which is against "ftrack first" rule).

Testing notes:

  1. Create pakcage, upload to server and use in bundle (copy settings).
  2. Run services.
  3. Create an entity in AYON.
  4. The entity should be created in ftrack too.

I don't know what will gona happen during editorial publishing.

Resolves #247

@iLLiCiTiT iLLiCiTiT self-assigned this Jan 15, 2026
@iLLiCiTiT iLLiCiTiT added the type: enhancement Improvement of existing functionality or minor addition label Jan 15, 2026
@iLLiCiTiT iLLiCiTiT added the sponsored This is directly sponsored by a client or community member label Jan 15, 2026
@iLLiCiTiT iLLiCiTiT changed the title AYON to ftrack sync: Created folders and tasks are created in ftrack AYON to ftrack sync: Folders and tasks are created in ftrack Jan 15, 2026
@iLLiCiTiT iLLiCiTiT marked this pull request as draft February 2, 2026 11:20
@MilaKudr
Copy link
Copy Markdown

MilaKudr commented Feb 2, 2026

I have these errors whet create task in Ayon

2026-02-02 16:35:06 WARNING  Failed to process event.
Traceback (most recent call last):
  File "C:\Code\ayon-ftrack\services\transmitter\transmitter\logic.py", line 146, in process_event
    self._process_entity_event(source_event)
  File "C:\Code\ayon-ftrack\services\transmitter\transmitter\logic.py", line 869, in _process_entity_event
    self._handle_create_event(entity_data)
  File "C:\Code\ayon-ftrack\services\transmitter\transmitter\logic.py", line 1051, in _handle_create_event
    self._handle_create_task_event(entity_data, project_settings)
  File "C:\Code\ayon-ftrack\services\transmitter\transmitter\logic.py", line 1188, in _handle_create_task_event
    ay_entity = ayon_api.get_task_by_id(
  File "C:\Code\ayon-ftrack\service_tools\venv\lib\site-packages\ayon_api\_api.py", line 3985, in get_task_by_id
    return con.get_task_by_id(
  File "C:\Code\ayon-ftrack\service_tools\venv\lib\site-packages\ayon_api\server_api.py", line 5242, in get_task_by_id
    for task in self.get_tasks(
  File "C:\Code\ayon-ftrack\service_tools\venv\lib\site-packages\ayon_api\server_api.py", line 5182, in get_tasks
    fill_own_attribs(task)
  File "C:\Code\ayon-ftrack\service_tools\venv\lib\site-packages\ayon_api\server_api.py", line 290, in fill_own_attribs
    attributes = set(entity["ownAttrib"])
KeyError: 'ownAttrib'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sponsored This is directly sponsored by a client or community member type: enhancement Improvement of existing functionality or minor addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

YN-0321: sync entities created in AYON

3 participants