Dear all,
I am trying to increase the End date of an issue (custom field with "Date" format) with a time, contained in Remaining Estimate field. I have created a temporary variable with such value:
{{issue.fields.timetracking.remainingestimate}} (lets call it "EstimateTime"
which gives me something like "1h 40m"
As I try to add this to my custom field date using {{customfield_10000.plusDays(EstimateTime)}}, nothing happens. Of course, I need to put Days in this expression.
I tried to convert "EstimateTime" to days using{{issue.fields.timetracking.remainingestimateDays}}, but it doesn't works.
I also tried to convert it like:
{{#=}}({{issue.fields.timetracking.remainingestimateSeconds}}) / 86400{{/}}
and it worked, but when I try to add it as {{customfield_10000.plusDays(EstimateTime)}}, it doesn't work. I also tried using ".round" to receive an integer, but {{customfield_10000.plusDays(EstimateTime)} also doesn't work with this integer.
Could anyone please provide any tips on how to add estimated time to dates? Is it even possible?