When you create a split board with the xgeeks team, a schedule is created automatically. In this schedule, the maximum number of users is stored, which will allow the calculation of the number of sub-teams to be created in the next cron job. However, at this point, we are storing a rounded integer. This rounding means that the result of the calculations performed in BE, give an incorrect number of teams to be created. To prevent this from happening, we should store a float number with 2 decimal places and only round the number on the final calculation of the number of teams.
Steps to reproduce
Create a board with the xgeeks team
Create 4 sub-teams for that retro
Expected result
When the cron job runs, it should create a retro with 4 sub-teams.
Description
When you create a split board with the xgeeks team, a schedule is created automatically. In this schedule, the maximum number of users is stored, which will allow the calculation of the number of sub-teams to be created in the next cron job. However, at this point, we are storing a rounded integer. This rounding means that the result of the calculations performed in BE, give an incorrect number of teams to be created. To prevent this from happening, we should store a float number with 2 decimal places and only round the number on the final calculation of the number of teams.
Steps to reproduce
Expected result
When the cron job runs, it should create a retro with 4 sub-teams.
Actual result
It's creating 5 sub-teams