How to track total time spent per project phase?

Hi, @Alberto_LC

Here’s another way to achieve what you want.(I hope so)
If you use ‘AI rules’, you can achieve it.
I’m not sure it’s worth using AI. And you may still feel over-engineered.

the result is the following image.

How to make

  1. make two custom fields of the followings.


  2. make the following rule.

  3. make dependencies between tasks like the following.

How to use

  1. Complete ‘start project’ task when you want to start a project.
  2. Complete your tasks in order so that the spent time is recorded in ‘spent phase time[min]’ field.

P.S.
If rule action allow us to set triggerd time to ‘actual start time’ like below, we don’t use IA or script actions😭