just use dueDate on the field when trasncuse this field.
{{sprint.endDate.jiradate}}
Unfortunatelly my issue is not solved because when an issue overflows from one sprint to another the date which gets is from the first sprint, not the last one
To get the latest end date for any sprints for an issue, please try this:
{{issue.sprint.endDate.max}}
As the sprint field is a list, the max() function will return the value you want.
Please note: In your rule, the sprint field could be cleared and trigger the rule, and so this would lead to old values being used for the sprint to set your due date. The work-around for this is for you to use an if/else condition to handle the change to empty. You will need to decide what to set the due date to in that case.
Kind regards,
Bill
Bill, amazing, I did a reply here but I was wrong, your function worked perfectly !!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try using this smart value: {{sprint.last.endDate.jiradate}}
{{sprint}} returns the list of sprints so if you just use {{sprint.endDate.jiradate}} it will return date of the first element on the list.
Kind regards,
Piotr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot for your effort but it returns the date of the last sprint completed where this issue was.
So before , with sprint.end.Date.jiradate, my result in the case bellow was Dec 18, 2020 and now is Dec 11, 2020
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.