2-Indolylglycine derivative and its oxygen analogue have been synthesized by Sonogashira coupling followed by cyclization in one pot between 2-iodoheteroarenes and ethynyloxazolidinone where 3-indolylglycine derivative and its oxygen analogue have been synthesized from silylated internal alkyne using Larock’s heteroannulation as the key reaction.