Rubuta ci gaba don wannan sakin layi - Daga 18 ga Oktoba 2011 zuwa tsakiyar Oktoba 2014, Hashmi ya yi aiki a matsayin Babban Kwamishinan Pakistan a Bangladesh, tare da amincewa da Bhutan. A matsayinsa na babban kwamishina, ya yi hulɗa da shugabannin Bangladesh kuma ya ba da shawarar haɓaka alaƙar jama'a tsakanin ƙasashen biyu don inganta alaƙar, yayin da bangaren Bangladesh ya yi kira da a warware duk batutuwan da suka gabata daga baya ciki har da "tashin hankali na yau da kullun" don 1971
"don ba da damar dangantakar abokantaka da ke tsakanin Bangladesh da Pakistan don yin babban ci gaba da kuma samar da sararin samaniya don hadin kai". A lokacin mulkinsa a ƙarshen 2013, alaƙar diflomasiyya ta zama mai ƙaranci lokacin da Bangladesh ta matsa don yanke hukunci da kashe shugaban Jamaat-e-Islami Abdul Quader Molla kan zargin aikata laifukan yaƙi, shawarar da Pakistan ta yi Allah wadai da ita a matsayin "kisan shari'a". Daga Oktoba 2014 zuwa Afrilu 2016, ya zama Babban Sakataren Harkokin Waje na Asiya-Pacific a Ma'aikatar Harkokin Waje.