[CH3:1][N:2]1[CH:10]=[C:9]2[C:4]([C:5]([C:11]#[N:12])=[CH:6][CH:7]=[CH:8]2)=[N:3]1>CO.N.[Ni]>[CH3:1][N:2]1[CH:10]=[C:9]2[C:4]([C:5]([CH2:11][NH2:12])=[CH:6][CH:7]=[CH:8]2)=[N:3]1To a solution of 2-methyl-2H-indazole-7-carbonitrile (1 equiv.) in methanol and aq. ammonia solution (9:1), catalytic amount of Raney Nickel was added. Reaction mass was stirred at room temperature under hydrogen pressure (balloon pressure) for 2-5 h. On completion of reaction, it was filtered through celite bed and filtrate was concentrated under reduce pressure to afford the title compound (quant. yield).