Zeljeznicar 0-0 Hearts
(Hearts win 2-0 on aggregate)
Hearts booked a place in the second round of the Uefa Cup after earning a no-score draw in Sarajevo's Olympic Stadium.
The Edinburgh side went into the game with a 2-0 lead from the first leg at Tynecastle three weeks ago, thanks to goals from Mark de Vries and Andy Webster.
And while the Bosnian side put the visitors under sustained pressure in the first half, Hearts held firm and grew in confidence as the game progressed.
Zeljeznicar showed several neat touches and were comfortable on the ball but lacked a cutting edge in the final third of the park.
Hearts could have all but killed off the tie with just 30 seconds on the clock when Jean-Louis Valois released de Vries into the box but Zeljeznicar goalkeeper Kenan Hasagic raced off his line to block the striker's shot.
The Bosnians recovered quickly and, just a minute later, Almir Gredic unleashed a shot from close range but Patrick Kisnorbo managed to intercept the effort and goalkeeper Tepi Moilanen was able to smother the ball.
The home side were threatening again when Sretko Vuksanovic tried to play the ball into the path of Adis Obad in the penalty area but Moilanen managed to get to the ball first.
Zeljeznicar were enjoying the best of the chances and they came close again after 19 minutes when Vuksanovic sent a thunderous effort wide from 20 yards.
Vuksanovic then set up Muharemovic for a great chance but the home fans were disappointed when he fired just wide of the upright.
Hearts were content to soak up the Zeljeznicar attacks
Hearts were rather shaky at the back throughout the opening 45 minutes but after the break the Edinburgh side looked a more compact unit and they managed to keep possession of the ball for longer periods.
Valois had a good chance after an hour when he pounced on some defensive hesitancy after a long range drive from Webster but Hasagic managed to get a touch to the French midfielder's shot.
With 15 minutes remaining, de Vries tried to pick out Graham Weir at the far post but Hasagic managed to get to the ball first and clear the danger.
The home side tired in the closing stages and failed to muster any real threatening attacks on the Hearts' goal.
Zeljeznicar Sarajevo: Hasagic, Biscevic, Kajtaz, Mulalic, Alihodzic, Karic, Gredic, Muharemovic, Jahic, Vuksanovic, Obad. Subs: Adilovic, Joldic, Spahic, Rascic, Avdija, Hadzic, Dzeko.
Hearts: Moilanen, Maybury, Pressley, Webster, Kisnorbo, Stamp, MacFarlane, Severin, Valois, de Vries, Weir. Subs: Gordon, McKenna, McCann, Kirk, Wyness, Hartley, Simmons.
Referee: Anton Stredak (Slovakia)