I had similar pain but also some numbness. I got shots which only lasted a couple of weeks. Did some PT and that helped but not completely. After seeing a doctor, they recommended cubital tunnel and carpal tunnel to release pressure. That and PT did the trick.
In the meantime, if those actions produce more pain, YouTube nerve slide exercises for your arm (I think that's what they're called). Those helped the most and I still do them when I feel some tinges coming back.