Hello, Community
I need assistance. I want to use Smart values below the condition I specified in Automation to subtract two values that are present in numbers under two distinct custom fields and store the result in another custom field, but it isn't producing the output.
{{issue.Time To Detect.-(issue.Time To Resolve)}}
Hi @Aswad Deshpande , if these are number fields then you need to use the minus() function. Below is the excerpt from the documentation.
Adds or subtracts one numerical smart value with another. For example, you could update the current story point estimate for an issue by adding a point for each subtask.
{{issue.Story Points.plus(issue.subtasks.size)}}
So in your example ...
{{issue.Time To Detect.minus (issue.Time To Resolve)}}
If they are dates use the diff() function...
{{issue.Time To Detect.diff(issue.Time To Resolve)}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jack Brickey
That is a number where I have computed the difference in minutes, not a date format.
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.