Hi
I want to calculate the amount of time between certain workflow statuses and for the result to be in hours with 2 decimal places.
For testing I am taking the minutes since creation, dividing by 60 and putting this in a variable called hours:
{{#=}}{{now.diff(issue.created).minutes.abs}} / 60{{/}}
The variable is fine and prints to the log as {{hours}}
But I can't get the formatting to work. I tried {{hours.format("###.##")}} following the answer in this question but that produces no output at all. Any tips welcome, thanks!
Turns out I needed to be using "ou" instead of "cn"
Here's the reply I got from Atlassian support:
The CN value is only for a group, user or contact of the LDAP directory. So, the LDAP structure should be <tt>dc=Users,dc=example,dc=com</tt> or<tt>ou=Managed Users,dc=example,dc=com</tt>
However, facing what you are trying to achieve, I believe that the best option to set an external directory would be to:
Have you tried escaping the space using a '\' ?
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.