Im setting up an automation to send emails when an issue passes 90% of its time estimate using the fields{{issue.fields.timetracking.timespent}} and {{issue.fields.timetracking.originalEstimate}} but I'm having a very hard time to set up the 90% part I tried using *0,9 or *0.9 but with no success.
I believe you need to use the '{{#=}}' math expression, as well as convert the timespent and originalEstimate values to numerical values (such as seconds). I believe the following should work:
{{#=}}{{issue.fields.timetracking.timespentseconds}} >= {{issue.fields.timetracking.originalEstimateSeconds}} * 0.9{{/}}
this returns a boolean (1 for true, 0 for false).
See https://support.atlassian.com/cloud-automation/docs/jira-smart-values-math-expressions/ for more information.
Im sorry by Im having a hard time applying your possible solution, this is what Im currently trying with it but I'm quite sure I'm doing it wrong
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would insert the entire math expression into the first value, set the condition to equals, then set the second value to 1.
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.
Good!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.