Hi, I'm trying to calculate total timespent of all worklogs for linked issues (is caused by for ex.) using smart values.
This one gives me a list of linked issues:
{{issue.issuelinks.outwardIssue}}This one gives me total amount of timespent from their worklogs (in seconds):
{{issue.issuelinks.outwardIssue.timespent}}It works perfect and returns one number until there becomes more than one linked issue.
If parent issue has 2 linked issues it returns string of values separated by comas:
3600, 2400 ...
How can I sum these values to get one number (6000 for ex.)?
Tried to add .sum" but it returns nothing:
{{issue.issuelinks.outwardIssue.timespent.sum}}UPD: audit logs:
Logaction
Parent issue (is caused by) list issue.issuelinks.outwardIssue.timeoriginalestimate: 3600, 7200
Logaction
trying to get sum issue.issuelinks.outwardIssue.timeoriginalestimate.sum:
^this one is my current problem, it's empty
Log work
This work duration obviously terminates:
{{#=}}({{issue.issuelinks.outwardIssue.timespent}}-{{issue.timetracking.timeSpentSeconds}})/60{{/}}mError rendering smart-values when executing this rule:Too many numbers or variables: (1920, 5400-3720)/60