From jamming to collective cell migration through a boundary induced transition