Hello,
In CM Toolkit documentation, it s written that affectsBundle(), fixedInBundle() and betweenBundles() JQL functions take a list of bundle names, bundle versions or bundle ids and returns issues.
It works with bundle names but does not with bundle issues ( did not try with bundle id as it is not convenient). The message is : There is no bundled named XXX (see screenshots).