Context, on a ticket, i have :
- an issue date field
- a date automatically set when I transit a ticket into the blocked externally column
What I want to do : calculate the new issue date when the ticket comes back to the "in progress" column
For example :
- issue date = 15/08/2024
- start of externally blocked = 09/08/2024 ("issue.customfield_10246")
On the 18/08/2024 I move back the ticket into the "In progress" column, the new issue date should then be 25/08/2024 (Now + (15/08 - 09/08) = 25/08)
You follow me ?
I'm new to smart value and SQL function so I tried something exotic but it doesn't work :
{{now.plusDays(duedate.diff(issue.customfield_10246.toDate).businessDays}}
Anyone figuring this out here ?
Thanks you so much in advance