I was having URQ pain on-and-off. I believe it was Crohn's related, because although my liver is/was enlarged, I was told that should not necessarily cause pain.
When I was looking for causes, I also found something called Sphincter of Oddi dysfunction:
The symptoms are very similar to a gallbladder attack. But it is generally diagnosed only after having your gallbladder removed.
If the area feels tender, costochondritis (inflammation of cartilage) is also possible.
Have you been tested for H. pylori (ulcer)?
Have you had a CT or MRI of your abdomen recently?
Best wishes, I hope you get answers soon.