That’s a good question, hm. You could easily see which release the fix needs to be in by looking at the milestone but not whether it actually is in that release.
Today you can mostly tell by the tags whether a patch needs to be backported, as long as some human has kept the tags up to date and promoted the ‘nightly’ tags to ‘beta’ etc, though there is a whole lot of room for error and we do sometimes fail to catch needed backports.
The only way I can see to do it foolproofly is:
- For every issue in the milestone
- Look it git whether the commits for the associated pr is in the branch
- If not, backport