The flow
Starts it 1Logic 13Service 12
The steps in the order they run, from what starts it.
- 1New issue or updated issueLinear triggerStarts it
- 2Switch based on actionSwitchLogic
- 3Check if task already exists1TodoistService
- 4Check if task already exists3TodoistService
- 5if task already exists1IfLogic
- 6if task already exists3IfLogic
- 7Remove taskTodoistService
- 8Do nothing1No OpLogic
- 9If action's due date is not empty and assignee is meIfLogic
- 10If action's due date is not empty and assignee is me1IfLogic
- 11If it's a sub-issueIfLogic
- 12Remove task1TodoistService
- 13If it's a sub-issue1IfLogic
- 14Do nothing2No OpLogic
- 15Get parent issueLinearService
- 16Task finished ?1SwitchLogic
- 17Get parent issue1LinearService
- 18Create task2TodoistService
- 19Set title with parent and sub-issueSetLogic
- 20Close task1TodoistService
- 21Update task1TodoistService
- 22Set title with parent and sub-issue1SetLogic
- 23Task finished ?SwitchLogic
- 24Create task3TodoistService
- 25Close taskTodoistService
- 26Update taskTodoistService