the main effect is antispasmodic. this is poised to help IBS more than IND, but the antispasmodic also seems to block some pain, so it could help for IBD cramps or pain.
/www.badgut.org/information-centre/a-z-digestive-topics/peppermint-and-ibs-pain-relief/