New imidazo[1,2-b]pyridazine and imidazo[4,5-b]pyridine derivatives having the chemical structure of formula (I) are disclosed; as well as process for their preparation, pharmaceutical compositions comprising them and their use in therapy as inhibitors of Janus Kinases (JAK).