ynput / ayon-ftrack

Apache License 2.0
3 stars 9 forks source link

Missing values for keys:['intent'] #127

Closed tanh609 closed 1 month ago

tanh609 commented 1 month ago

Is there an existing issue for this?

Current Behavior:

When publishing an asset from Ayon with a comment, the Integrate Ftrack Note would failed with the following error

DEBUG: Intent is not set.
WARNING: Note Label `From Ayon` was not found. 
DEBUG: Note template require more keys then can be provided. Template: {intent}: {comment} Missing values for keys:['intent']

A quick work around is to remove the {intent} tag in the setting.

image

How do we set intent during the publishing process for AYON?

Expected Behavior:

When we publish from AYON, the provided comment is posted in the relevant task in ftrack.

Version

1.0.0

What platform you are running on?

Windows

Steps To Reproduce:

  1. Open Maya
  2. Do an asset publish with comments

Are there any labels you wish to add?

Relevant log output:

DEBUG: Intent is not set.
WARNING: Note Label `From Ayon` was not found. 
DEBUG: Note template require more keys then can be provided. Template: {intent}: {comment} Missing values for keys:['intent']

Additional context:

No response

tanh609 commented 1 month ago

I think this issue is resolved with this pull. https://github.com/ynput/ayon-ftrack/pull/129