For J -> group 1.
For Y -> Presumably that would depend on your fare class / fare type (most third party tickets I have been on were “classic”) and whatever logic AY follows regarding seat number -> boarding group. Only OW status will count for boarding groups.