I have the following math expression
The latest request from the business is that they would like these rounded up to the nearest 15 minutes...for billing purposes.
I cannot figure out for the life of me how to do that.
Interesting. I took a quick look to understand this a bit more. It seems that the field for time tracking is treated like an integer (rather than a jira custom field number type). When using the 'divide' operation in my example above, it will never return anything but a whole number. So using 'ceil' has no impact at all.
As you've found, you need to perform a 'math expression' e.g CEILING. It seems "numerical operations" (per https://support.atlassian.com/jira-software-cloud/docs/smart-values-math-expressions/ ) only apply to custom fields of the number type
No, maybe, and yes... ;^)
Have you investigated if your billing tools can do the rounding for you, outside of Jira?
Thanks for confirming that info.
As you want to change the stored value I suspect your only options are to research other time-tracking tools from the marketplace with that capability, or to update with an adjustment value, either from the REST API or use an automation rule to log more time to round up. (That second approach of adjustment will definitely inflate the time tracking.)
For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events