When may I drive across the crosswalk?When enough space has cleared past the crosswalk for the whole bus to fit beyond it without staying on the crosswalk
And if the traffic jam is past an intersection or a railroad crossing?Similar, but the conditions differ. You may not drive onto a railroad crossing if a traffic jam would make you stop on it. You may not enter an intersection if a jam would make you stop in it and get in the way of cross traffic; the rules make exceptions for turning right or left
Is this rule only for buses?No, it is for all drivers. The bus in the question is just an example: a long vehicle has a harder time fitting completely past the crosswalk, so it is easier to get this wrong