Script to fetch task permalink
Just wrote my first Milkscript!! If you know JS, no big deal but this felt like a breakthrough to me with very slight coding exposure...
Anyhoo, script grabs the address of the list tasks (in this case 'test'), and puts it in the URL field.
Pretty useless as it is, but could become a manual way to create LINKS between tasks.
'''
const tasks = rtm.getTasks('list:"test"');
tasks.forEach(task =>
task.setUrl(task.getPermalink()));
'''
Anyhoo, script grabs the address of the list tasks (in this case 'test'), and puts it in the URL field.
Pretty useless as it is, but could become a manual way to create LINKS between tasks.
'''
const tasks = rtm.getTasks('list:"test"');
tasks.forEach(task =>
task.setUrl(task.getPermalink()));
'''
Log in
to post a reply.