new GlideQuery('task')
.where('priority', 1)
.select('short_description', 'opened_at')
.forEach(function (task) {
gs.info('Task "' + task.short_description + '" was opened at ' + task.opened_at);
});
// Task "Reset my password" was opened at 2020-09-17 22:50:23
// Task "Install new Cisco" was opened at 2020-03-29 23:14:14
// ...
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter