[CH3:1][N:2]1[CH:10]=[C:9]2[C:4]([C:5]([C:12]#[N:13])=[CH:6][CH:7]=[C:8]2[CH3:11])=[N:3]1>CO.N.[Ni]>[CH3:1][N:2]1[CH:10]=[C:9]2[C:4]([C:5]([CH2:12][NH2:13])=[CH:6][CH:7]=[C:8]2[CH3:11])=[N:3]1To a solution of 2,4-dimethyl-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).