It was an absolute nightmare for me last year. Took almost two months after the flight for them to uncredit my B6 account and credit my AA account.
The second time I flew, I messaged Jetblue via Apple Business Messaging, they removed my AAdvantage number pre-flight and everything posted correctly.