Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Ftrack: Action to easily create daily review session #3310

Conversation

iLLiCiTiT
Copy link
Member

@iLLiCiTiT iLLiCiTiT commented Jun 9, 2022

Brief description

Added server action to create daily review session with ability to auto-create dailies each day.

Description

Action creates review session with name based on template defined in settings. If there is review session with same name then rest of logic is skipped. If there is not review session with same name and then is review session from "previous day" which does not contain any reviewables then that is just renamed otherwise new review session object is created. Action does daily cycles during which checks if project has enabled "daily creation" of review sessions and create them automatically for all enabled so the action does not have to be executed manually.

Additional info

If template does not contain day formatting key it probably won't be "daily" so it can be used for e.g. weeklies too. Default template is {yy}{mm}{dd} (2 digits year, 2 digits month and 2 digits day).

Testing notes:

  1. Run ftrack event server
  2. Run the action on any project
  3. Enable cycle creation on a project and wait until next day

@ynbot
Copy link
Contributor

ynbot commented Jun 9, 2022

@iLLiCiTiT iLLiCiTiT self-assigned this Jun 9, 2022
@iLLiCiTiT iLLiCiTiT added type: enhancement Enhancements to existing functionality module: Ftrack labels Jun 9, 2022
Copy link
Member

@jakubjezek001 jakubjezek001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the action is not showing to me at any Project

@jakubjezek001
Copy link
Member

here is what I can see in Project actions
image

@iLLiCiTiT
Copy link
Member Author

iLLiCiTiT commented Jun 10, 2022

It's server action, not local. Updated testing notes.

Copy link
Member

@jakubjezek001 jakubjezek001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works as expected

@iLLiCiTiT iLLiCiTiT merged commit a0b2a53 into develop Jun 13, 2022
@iLLiCiTiT iLLiCiTiT deleted the feature/OP-3338_Ftrack-event-auto-generate-client-review-list-daily branch June 13, 2022 11:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
module: Ftrack type: enhancement Enhancements to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants