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
Hi @Wael Hanfi -- Welcome to the Atlassian Community!
I do not believe the names of the smart values change with language settings/issue types, so perhaps instead try:
{{now.diff(issue.startDate).minutes}}
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.