Genome-wide association studies (GWAS) have been successful at finding associations between genetic variants and human traits, including the immune-mediated diseases (IMD). However, the requirement of large sample sizes for discovery poses a challenge for learning about less common diseases, where increasing volunteer numbers might not be feasible. An example of this is myositis (or idiopathic inflammatory myopathies, IIM), a group of rare, heterogeneous autoimmune diseases affecting skeletal muscle and other organs, severely impairing life quality. Here, we applied a feature engineering method to borrow information from larger IMD GWASs to find new genetic associations with IIM and its subgroups. Combining this approach with two clustering methods, we found 17 IMD genetically close to IIM, including some common comorbid conditions, such as systemic sclerosis and Sjögren’s syndrome, as well as hypo- and hyperthyroidism. All IIM subtypes were genetically similar within this framework. Next, we colocalized IIM signals that overlapped IMD signals, and found seven potentially novel myositis associations mapped to immune-related genes, including BLK, IRF5/TNPO3, and ITK/HAVCR2, implicating a role for both B and T cells in IIM. This work proposes a new paradigm of genetic discovery in rarer diseases by leveraging information from more common IMD, and can be expanded to other conditions and traits beyond IMD.