<< Back to previous view

[QB-2828] option to wrap schedule column in dashboard view
Created: 12/Oct/16  Updated: 13/Jan/17

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 6.1.29
Fix Version/s: 7.0.0

Type: Improvement Priority: Minor
Reporter: Tim Earle Assigned To: Unassigned
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
Can you add an option to truncate and then expand and wrap the value of the Schedule column in the dashboard?

Usecase:
Complicated schedules, such as "run this twice per month" require embedding GroovyScript. Or compensating for Daylight Savings Time and adjusting the schedule relative to UTC.

Flattening the value (removing newlines) is acceptable, but for long expressions this makes the column width very wide and wastes a lot of screen real estate. For expressions wider than 80 characters after flattening, it would be helpful to truncate the display and allow the user to expand it if needed. Making this an option in the dashboard's settings would also be awesome.

Example schedule to run on the second and fourth Saturday of the month:


${groovy:
def day_of_month = new Date().date
if (day_of_month > 7 && day_of_month < 15) {
  return "0 0 11 ? * SAT#2 *"
\} else if (day_of_month > 15 && day_of_month < 31) {
  return "0 0 11 ? * SAT#4 *"
\}
}
Generated at Thu May 16 04:24:52 UTC 2024 using JIRA 189.