That is why consulting and outsourcing exist, you only pay for developers while you actually need them.
There are even companies outside software business, that pay contractors per tickets, basically a budget is assigned and the contractor does as much tickets as they are capable of for the given budget.
Now the quality of the code is not for the faint of heart.