Trill lines, brackets, ottava lines and custom smart lines that include the hidden keyword "PUTONTOP" are taken into account for vertical collision removal above
the staff (not below!).
The keyword "PUTONTOP" can be added to any of the five text fields (Left Start, Left Continuation, etc.) in the Smart Line Designer dialog.
Just type in the word (no spaces), then select it and apply the hidden text style (Text->Style->Hidden).
The smart line then might look like in image 3 (dependent on the text fields that you select): no more collision with the tuplet bracket and the slur.
Image 3: Custom Smart Line with Hidden "PUTONTOP" Text
JW Lua cannot read the fields from the Line Adjustments
group in the Smart Line Designer dialog.
Workaround: If possible, don't use these values, as they may lead to collisions.