The pain and the bowel symptoms could be due to
IBS. But
IBS is a diagnosis of exclusion, i.e. once all other diseases of the colon like colitis, infections, tumors etc. have been ruled out, then the diagnosis of IBS is made. Please consult your doctor, who may ask for blood tests and sometimes a colonoscopy to rule out these conditions.
Hope this helped and do keep us posted.