Migrating with different operating systems ... Issue?
No - Migration Assistant always supports taking an older system and/or backup and migrating those Apps, Documents and Settings to a newer OS.

You generally can't go the reverse direction so Yosemite to Mountain Lion wouldn't be a possible migration path.