As for setting bug_reporting_guidelines, it is exposed in the API, but currently broken: see bug 309056.
Although I've been unable to test it, it looks like working code should be something like this (given launchpad as an appropriately-credentialled launchpadlib client instance; code for that is elsewhere, e.g. https://help.launchpad.net/API/launchpadlib):
As for setting bug_reporting_ guidelines, it is exposed in the API, but currently broken: see bug 309056.
Although I've been unable to test it, it looks like working code should be something like this (given launchpad as an appropriately- credentialled launchpadlib client instance; code for that is elsewhere, e.g. https:/ /help.launchpad .net/API/ launchpadlib):
src = launchpad. distributions[ 'ubuntu' ].getSourcePack age(name= 'whatever' ) reporting_ guidelines = 'foo\n'
src.bug_
src.lp_save()