Thiosemicarbazides undergo different cyclization reactions to give five membered heterocycles. The product of cyclization depends on the reagent used. This cyclization leads to the formation of 1, 3, 4-oxadiazole, 1, 3, 4-thiadiazole and 1, 2, 4-triazole derivatives. The reaction of thioglycolyl hydrazide derivatives of the 1, 2, 4-triazole compounds was discussed. The activity against hepatitis B virus (HBV) has been tested.