Today we will talk about the
Pomodoro method and how it is supported in
YouTrack . You will learn how effective a user workflow can be and how creatively you can use it.
As you already know, we implemented the possibility of time management in
YouTrack 4.1 . Our clients sent many useful feedback and ideas for improvement, among them was a
request to implement the popular time management method developed by Francesco Sirillo in the 1980s. By luck, this method also allows you to demonstrate the effectiveness of user workflow in YouTrack.
So what is the Pomodoro method?
Pomodoro (Italian
Tomato ) is a popular time tracking and time management method that allows you to determine how much effort is required to perform a specific task, as well as to understand exactly what interrupts your work and prevents you from concentrating. Such an approach eliminates distractions, increases productivity and makes time an ally.
How does pomodoro work?')
It's very simple: you divide the task execution time into equal segments, the so-called “pomodoro”.
- Traditional pomodoro lasts 30 minutes: 25 minutes of work, then a 5-minute break.
- Every four pomodoro allowed a big break - from 15 to 30 minutes.
- The principal feature is that pomodoro should not be interrupted or divided into parts. 25 minutes in a row must be strictly devoted to work.
- If there is an inevitable need to stop, pomodoro should be stopped and the reason for the suspension should be recorded.
With regular use of this method, pomodoro helps to track how you work, make the time calculation more accurate and increase efficiency.
This is just a brief description of the method. If you want to know more about it, go to the official
website .
How the Pomodoro method is implemented in YouTrackAs mentioned earlier, the Pomodoro method is implemented through the user workflow
pomodoroTimer . It contains three rules that work as follows:
1. A state machine determines the transition of pomodoro from one state to another. The beauty of this rule is that for each completed or interrupted pomodoro YouTrack automatically adds a time record. Thus, YouTrack keeps records of your work on a specific task.
2. The rule that actually starts the timer and starts counting 25 minutes.
3. The rule that prohibits changing the cause of the suspension (the “Pomodoro Suspension” field) without stopping the timer.

Workflow
pomodoroTimer uses three additional task fields. New fields do not need to be created, since the workflow itself will do this after you import it:
1. Pomodoro state (State Pomodoro) - field type state [1] with the following values:
Timer's running (Timer running), Timer finished (Timer stopped), On a break, Not set. “Not set” is the default.
2. Pomodoro interruption (Suspend Pomodoro) - a field of type enum [1] with the following values:
Phone call (phone call), Boss interrupted (conversation with the boss), Urgent email (urgent letter), Facebook chat (correspondence in social networks).
You can add any reasons for the suspension to this list. (The field may not specify anything, then workflow will use an empty default value.)
3. Pomodoro countdown (Countdown Pomodoro) is an integer type field for a timer.

If you want to study all this in more detail, look at this
task , take the workflow
pomodoroTimer.zip and download it into the workflow editor (
download here ). You will quickly figure out what's what, since the rules do not require additional description.
If you just want to include the PromodoroTimer
wokrflow in your project, follow these steps:
1. Make sure the Time Tracking feature is active in this project.
2.
Download pomodoroTimer and import it into your YouTrack project through Administration -> Projects -> 'Project Name' -> Workflow part.
3. You will see how the workflow rules are highlighted. Click these rules and apply all the suggested quick fixes (quick-fixes):

All necessary task fields and their values ​​will be automatically created and attached to your project.
If you haven’t worked with YouTrack user workflows yet, read the Workflow
Guide and
watch this short video . An impressive
worfklow repository is presented to your attention, in it you will find examples of previously created workflows with which you can experiment.
In conclusion, it is worth adding that if you use the Pomodoro method in YouTrack, an additional advantage for you will be the automatic tracking of working time. If not, you learned how to adapt YouTrack to your operating mode with minimal effort, as well as how to implement automatic time tracking using YouTrack workflow. Use this opportunity for anything that requires time tracking - at least for yoga!
Keep track of your time with Pomodoro and YouTrack!
~ Your JetBrains YouTrack Team