If I'm not mistaken, Sway Bar Links don't have a static "length" to be set to.
Sway Bar Link measurements will vary depending on a number of factors. (Every 4" lift kit isn't exactly 4")
Sway bar disconnects should be installed at normal ride height, on flat level ground.
The "optimal sway bar angle" according to JKS is 10 degrees on the TJ platform.
With links OFF, hold your sway bar so the arm position is at roughly 10 degrees.
Then adjust & install your sway bar disconnects to their respective mounting locations without inducing preload/tension on the sway bar.
The swaybar should not have tension applied while on flat ground, only during axle articulation.
You'll need to lengthen them enough to hold the sway-bar at that angle.
Any significant amount more or less is going to cause issues.
So technically you could remove the sway bar end links, hold the sway bar at 10 degrees, and measure how long you'd need to lengthen them.
Taking measurements from another TJ, with a different suspension setup, isn't going to get you perfectly where you need to be.