This workshop explains usage of the general purpose crystallographic program Jana2006 for refinement of magnetic structures from neutron powder or single crystal data. Jana2006 includes tools for determination of magnetic symmetry from the symmetry of diffraction pattern as well as tools for representation analysis. It can find direct relationship between magnetic space or superspace group and corresponding representation and use it in the refinement.