I used to pass a lot of mucus. I would constantly have the feeling of urgency and go to the bathroom and just have a bunch of mucus come out. I'm not really sure why it was happening. I told my doctor and it seemed like this was a normal part having IBD. They do tend to be more concerned with blood than anything.
I will say after it not happening for months, I took Mucinex for a cold and passed a ton of mucus a few weeks ago. May be related to certain foods and OTC meds... I just never bothered to take the time to look for connections.