I had the same thing happen to me yesterday. I dont know what it is but i think it may have something to do with my food not getting broken down enough, but idk.
Yellow always makes me think bile salts. That its sticky would fit that too... does it float? That could be a sign of what's called steatorrhea, or fat in the stool.
Is it happening a lot, or a random thing here and there?
This happens to me quite a bit... well from time to time. I'm not a big sweetcorn eater... I hadn't really thought about it being IBD related .... but i suppose if it happens often... maybe it's something worth mentioning to your doctor. I know i will next time i go after seeing this. hope everything goes well for you!