Hello Community,
Whenever a task is transitioned from a status "In testing" to "To Do", I'd like to add a label that depends on which time such a change occurred, for example:
1st time transition from "In testing" to "To Do" --> add "label-1"
2nd time transition from "In testing" to "To Do" --> add "label-2" and remove "label-1"
3rd time transition from "In testing" to "To Do" --> add "label-3" and remove "label-2"
I tried 2 different approaches:
1st approach using advanced branching --> this behaves like a for loop and loops over until final label is reached

2nd approach using if/else if --> this works fine for the first iteration, so it adds the "label-1" but then every time it succeds (success in audit log) but there's no any change

Looking for any ideas how to fix that!