Here is the truth – you cannot use functions in widgets. 

This functionality is not supported in widgets.

So, all the stuff like the following cannot be used in widgets.

  1. now() — the current moment
  2. dayStartUtc() — start of the day in the UTC time zone
  3. weekAgo() — a week ago (exactly 168 hours)
  4. currentUser() — the current system user

Functions work in Analytics section of Allure TestOps.

Here is the reference to Allure TestOps documentation.