I had just got the Bad Omen effect from a pillager outpost as I wanted to trigger a raid at my base. The quickest way to get back to my base was to use the End Portal as it is far away . When I jumped through the Portal the effect had cleared. I thought it may have been a one off glitch but I wanted to check. This time I recorded myself and the exact same thing happened. It is definitely repeatable.
Linked issues
Attachments
Comments

Thank you for your report!
We're tracking this issue in MC-6431, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Hello.
This bug is a duplicate of MC-6431.