War and Peace...
Agree with response above. There are a lot of responses which I haven't read, so mine may be redundant.
Do your math calculations using 1/2 the stroke length + rod length + piston compression ht (distance from pin center to top of piston).
e.g. 240Z L24: (73.7/2) + 133 + 38.1 = 207.95mm which is the distance from the center of the rod journal to the uppermost point of the piston's travel @ TDC. Any difference in the top of the piston and the block deck is the deck ht ( this is usually about zero). If deck ht is too high (+) then the piston hits the head, if too low (-) then combustion takes place down in the block as well as the head and bye-bye head gasket, plus it's poor quench efficiency. Piston domes or dishes are not included in deck ht, it is the surface of the piston edge as reference.
280Z L28: (79/2) + 130.4 + 38.1 = 208mm
I think you were initially asking about using L24 rods in an L28 to improve the rod/stroke ratio. The easiest variable to control in this is the piston and what to get it from if you don't want the expense of custom pistons. e.g. in this case you want to use a rod that has the same journal diameter and cap width as an L28. You've chosen L24 rod, which is 133 -130.4 = 2.6mm longer, so you need a piston of your bore size which has a compression ht of 38.1 - 2.6 = 35.5mm.
So, 86mm bore and 35.5 comp ht (with a pin offset same as Nissan and a pin dia of 21mm to direct fit with no machining of rod small end). Nothing comes to mind from OEM Nissan parts. However, with a 1mm overbore to 87mm, a piston from a Z22 engine would work. Be careful though because the truck engine has a different rod/stroke ratio than the car (Z22S vs Z22E). As expected, the truck is the lower ratio and has a slightly shorter rod and longer comp ht than does the car source (different casting numbers on the rods too). I'll let you figure out the best one to use as source of the piston.
Pistons can be machined a bit to alter compression ht, but only by a small amount, otherwise it brings the rings up too near to the deck @TDC.
I have taken L28 pistons (75-78) with the 10.9cc dish and have them machined in a lathe so that the dish rim is just machined away and it has been tuned into a flat-top with an altered comp ht, enough to allow using a 133mm rod from an L24 or L16. This trick increases the rod/ stroke and the compression ratio in a single step on a 75-78Z.
Use post-'72 rods to get the beefier bolts (9mm vs 8mm) and don't use the later Maxima rods as they have a smaller rod journal size.
DAW