Hi. Thanks for your query. The causes of all the symptoms you have mentioned of pain in right lower abdomen, bloating, radiation to the leg, spasms like bubbles, past history of peptic and rectal ulcers can be the following: severe entero-colitis. Tuberculosis of the abdomen. Lymph node masses . I would advise you the following: Tests of blood, urine and stool. CT scan of the abdomen. Upper GI endoscopy Power GI - colonoscopy this will help to get a proper diagnosis and treatment plan.