when I try to use this rule is says "
, please help, what am I doing wrong? :/
rule : {{#=}}({{issue.timetracking.remainingestimate}} + {{issue.timetracking.timespent}}){{/}}
Hi @burduli
Try:
{{issue.timetracking.remainingEstimateSeconds.plus(issue.timetracking.timeSpentSeconds)}}
thanks ! I try this {{#=}}{{issue.timetracking.remainingEstimateSeconds.plus(issue.timetracking.timeSpentSeconds)}}/60{{/}} and it shows correct minutes, but how to display this not like a number 300 minutes, but like 5h. I am calculating this on text field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@burduli you don't have pretty print on a text field. So you do your calculations by your self and add the "h" after the hours and "m" after minutes. The use of modulo will be handy:
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-math-expressions/
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.