All it is doing is masking the symptoms and it can become dangerouse this is why it is not used as a treatment not to mention the dependancy. I would be VERY careful with it. Drugs in that class are not to be taken lightly for crohns /UC sufferers and best to educate yourself as much as possible.
Personally i would take codeine as a one off now and again. Try and find another strong pain med for relief