You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Budget templates in tracking budget fail when priority > 0, but work consistently with priority 0 #8422
Budget templates in a tracking budget appear to stop allocating funds when a priority is set above 0. The same template works consistently when the priority is set to 0. I first noticed this with a long-term savings template. The template was recognized in the UI, and the amount/goal indicator changed color, but no funds were allocated unless the priority was set to 0.
This may be related to previously reported tracking-budget template issues, including one report that says templates in tracking budgets may not get proper available funds and that priorities can affect behavior (ref. 5178).
Notes
This appears specifically tied to the priority field. In my testing, priority 0 works consistently. The problem was observed in a tracking budget, not happening if switched the budget to envelope.
How can we reproduce the issue?
Create or open a tracking budget.
Add a category with a template such as: #template-1 4000 by 2028-01
Run Overwrite with budget template.
Observe that the template is recognized, but no funds are allocated.
Change the same template to: #template 4000 by 2028-01 or set the priority to 0 (UI)
Run Overwrite with budget template again.
Observe that the allocation now works consistently.
Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.
Create Plan
🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your .coderabbit.yaml:
issue_enrichment:
auto_enrich:
enabled: false
💬 Have feedback or questions? Drop into our discord!
This whole issue wasn't meant nor related to income categories. I'm using goals and templates on expenses, not income. I don't have/see any value in using this in income categories, unless I'm not fully understanding your note
Can you make an example budget file that creates your issue? The example above doesn't have enough info for me to properly test. From what I can tell, that demo build should properly handle all cases in a tracking budget in the expected manner.
If you see, there's a single account for this budget (not relevant for this problem). Then, the Food category has a template with a by 2028-01 clause, which, when "Overwrite with template", produces nothing and the budgeted value becomes yellow. This is specifically for tracking budgets. If you either switch for envelope budget of change the template priority to 0, clicking the "Overwrite with template" works as expected.
The value at the top of the budget table is 0. The tracking budget is not meant to hold funds in categories, if you want to hold funds in categories use the envelope budget.
The whole point of using priorities on the templates is to not budget more money than is available. In the case of a tracking budget, where available funds are per month, you have to have income added to that month to have anything available. Having no priority set is a special case that doesn't care about if you have funds available or not, it just budgets the whole template amount for better or for worse.
I see what you mean. As the income was there, if we budget the same amount for income it works. In that case, it would just make sense to this if this would be more obvious, but it does appear to be working. Thank you for the help.
Activity
coderabbitai commentedon Jul 6, 2026
📝 Issue Planner
Check the box below or use the
@coderabbitai plancommand to generate an implementation plan and prompts that you can use with your favorite coding assistant.🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your
.coderabbit.yaml:💬 Have feedback or questions? Drop into our discord!
youngcw commentedon Jul 6, 2026
Do you have any funds to budget?
pm-melo commentedon Jul 6, 2026
Yes, I had already validated that, and it is working nicely with the priority as 0
youngcw commentedon Jul 6, 2026
If you add a template to your income categories it should work. Its also not a big deal to set the templates to priority 0 in the tracking budget.
pm-melo commentedon Jul 7, 2026
Hi @youngcw, can you explain what you mean by "income categories"?
youngcw commentedon Jul 7, 2026
The categories dedicated to income at the bottom of your budget
pm-melo commentedon Jul 7, 2026
This whole issue wasn't meant nor related to income categories. I'm using goals and templates on expenses, not income. I don't have/see any value in using this in income categories, unless I'm not fully understanding your note
youngcw commentedon Jul 7, 2026
If you add a template(s) to your income categories, then the templates with priorities in the expense categories should work.
youngcw commentedon Jul 22, 2026
@pm-melo I believe this update should fix your issue. Can you test it? https://deploy-preview-8549.demo.actualbudget.org/
pm-melo commentedon Jul 22, 2026
@youngcw unfortunately no, I was able to reproduce the same exact issue in that environment.
youngcw commentedon Jul 22, 2026
Can you make an example budget file that creates your issue? The example above doesn't have enough info for me to properly test. From what I can tell, that demo build should properly handle all cases in a tracking budget in the expected manner.
pm-melo commentedon Jul 22, 2026
Of course. You can see the one I just used for testing as per your request.
2026-07-22-My Finances.zip
If you see, there's a single account for this budget (not relevant for this problem). Then, the Food category has a template with a
by 2028-01clause, which, when "Overwrite with template", produces nothing and the budgeted value becomes yellow. This is specifically for tracking budgets. If you either switch for envelope budget of change the template priority to 0, clicking the "Overwrite with template" works as expected.youngcw commentedon Jul 22, 2026
There are no funds available, thats why the template with a priority budgets 0. So any of the following will allow it to budget
pm-melo commentedon Jul 22, 2026
What do you mean by no funds available? The single account configured has a positive income transaction. I don't get this part.
I get that calculations are different between tracking and envelope budgets, but I don't think it is true that there are no funds available.
youngcw commentedon Jul 22, 2026
The value at the top of the budget table is 0. The tracking budget is not meant to hold funds in categories, if you want to hold funds in categories use the envelope budget.
The whole point of using priorities on the templates is to not budget more money than is available. In the case of a tracking budget, where available funds are per month, you have to have income added to that month to have anything available. Having no priority set is a special case that doesn't care about if you have funds available or not, it just budgets the whole template amount for better or for worse.
pm-melo commentedon Jul 22, 2026
I see what you mean. As the income was there, if we budget the same amount for income it works. In that case, it would just make sense to this if this would be more obvious, but it does appear to be working. Thank you for the help.
[AI] Fix budget templates with a priority not allocating funds in tra…
[AI] Fix budget templates with a priority not allocating funds in tra…