I use my pressure cooker to cook the chickpeas - can be completely cooked while you are preparing the sauce and boiling the water for the pasta. Following my suggestions, you can make this dish in 30 minutes.
Place chickpeas in pressure cooker with water to generously cover chickpeas. Cook according to manufacturer's instructions. The instructions for my pressure cooker say cook over high heat until high pressure mark is reached, and then reduce heat to low - cook for 20 minutes.
Place a large pot of water over high heat to boil. This is for the pasta.
In a large shallow pan, cook onions in olive oil until soft - about 10 minutes. Stir in rosemary, and then add tomato passata. Simmer.
Add pasta to boiling water. Cook until tender - about 8 minutes.
In a blender of food processor - puree 1/2 chickpeas. Add pureed chickpeas and whole cooked chickpeas to tomato sauce. Season sauce to taste with salt and pepper. Drain pasta and combine with sauce.