I just tested it and had the same problem. Then I applied loc-rot-scale to my object and it worked. I placed the cube in my default scene from the wrong view, so now every time I do something I need to remember to ctrl-a! Seems to have been a good thing in this case
Anyway here is a mini-tut on a quick way to set this up:
- select all your objects and ctrl-a>apply transforms.
- create an empty (ctrl-a this too if you didn’t add it in top view)
- go to the object buttons with the empty selected - hover over the Ob name and hit Ctrl-c
- select one of your rotate objects, add a copy rot constraint (you should still be in the object buttons), hover over the Ob entry widget and press Ctrl-v
- select all the other rotate objects BUT make sure the last selected is the one with the constraint
- hit Ctrl-c in the 3d view and choose copy object constraint
Optionally you can toggle rotation axis on step 4!