Using time related smartvalues such as {{now}} result in an error "Failed to get value "

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Low
    • None
    • Affects Version/s: 7.3.5
    • None
    • Minor

      Issue Summary

      When using smartvalues to retrieve time, we face the error "Failed to get value for now: {{now}}" when running the automation rule

      Steps to Reproduce

      Unable to reproduce so far what triggers the environment to reach this state.

      When it is in this state, though, any rule with time smartvalues fail. For example, post a comment with {{now}}

      Expected Results

      The rule runs successfully.

      Actual Results

      We see in the rule log the message:

      Error rendering smart-values when executing this rule:
      Failed to get value for now: {{now}} 

      Workaround

      Set the timezone in the JVM arguments:

      • Go to the setenv.sh file and add the parameter below:
        -Duser.timezone=America/Denver
        

        There is a list of available timezones here.

      • Restart Jira.

            Assignee:
            Unassigned
            Reporter:
            Allan Gandelman
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: