JA 5161 then IB 6982 at Bogotá
Cartagena → Bogota → Medellín
Timetable, Bogota time
23:15JA 5161 from Cartagena at the gate
22:35IB 6982 to Medellín leaves the gate
23 h 20 apart on the timetable, overnight
IB 6982 leaves 23 h 20 after JA 5161 arrives on the timetable: more than half a day, so not a connection we count.