On investigation of
JBEAP-7903 it was found out that for JTA case TM does not remember heuristic state of a participant. That means getting wrong information when listing log store and wrong processing of operation like `recover` or `forget`.
This was fixed in PR
(Clarify the semantics of clearing a heuristic)
and this issue serves as marker for the issue could be checked for the EAP release.