A few years ago I wrote a contrib script for Launchpad’s launchpadlib called ‘close-my-bugs.py’ which attempted to close (aka mark them ‘fix released’) all of your bugs in a project that were targeted to a particular milestone.
For various reasons it grew out of date and when I needed to use it recently, it didn’t work! Long story short, I just fixed it up and added a couple of new features:
- You can optionally close just your own bugs, or all the bugs in the milestone
- You can search for bugtasks targeted against a series in your project (these are not normally picked up when searching in a project’s milestone)
You can grab the code here:
bzr branch lp:launchpadlib contrib/close-my-bugs.py