OpenPype icon indicating copy to clipboard operation
OpenPype copied to clipboard

Ftrack: Set task status on farm publishing

Open iLLiCiTiT opened this issue 3 years ago • 2 comments

Brief description

Added ability to change task status on farm publishing.

Description

It is possible to change ftrack task status if instance is going to be processed on farm. It is based on checking instance.data["farm"] value which should be set to True if instance is going to be published on farm.

Changing the status name is based on profiles filtered by host name, task name, task type, family and subset name. Output is status name which is then tried to be used.

Maya set "farm" key to True on instances which are published on farm.

Testing notes:

  1. Add a profile to project_settings/ftrack/publish/IntegrateFtrackFarmStatus/farm_status_profiles
  2. Publish something to be published to farm
  3. Check if the task status has been changed successfully

iLLiCiTiT avatar Aug 16 '22 16:08 iLLiCiTiT

Task linked: OP-3477 Ftrack Statuses

ynbot avatar Aug 17 '22 08:08 ynbot