Uploaded image for project: 'Automation for Jira Server'
  1. Automation for Jira Server
  2. JIRAAUTOSERVER-351

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Low
    • None
    • 7.3.5
    • None
    • Minor

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              5fb7769fcbc7 Allan Gandelman
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: