Hi
i added this script to update time spent on ticket automatically but without success
i already use another rule to change the start date of ticket when it transited to in progress
and i want to calculate the difference between the start date and {{now }} but i didn't find the correct smart value of startDate of ticket
{
"update": {
"worklog" : [
{
"add": {
"timeSpent" : "{{now.diff( ticket.startDate).minutes}}m"
}
}
]
}
}
i need some help please
thanks