Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-1893

.withDayOfWeek Automation smart value not working

XMLWordPrintable

    • Minor

      Issue Summary

      .withDayOfWeek Automation smart value not working

      .withDayOfWeek(1)
      .withDayOfWeekName(“Monday”)
      .withDayOfWeekShortName(“Mon”}
      

      It sets the value to null

      Steps to Reproduce

      1. Create a rule to update a date with .withDayOfWeek Automation smart value

      ex: when field value changes for date custom field, edit field customfield_xxxxx.withDayOfWeek(1)

      2. Run the rule by manually changing the field value and notice it is updated to null

      Expected Results

      Sets date to day of week specified in smart value (Monday = 1)

      Actual Results

      Sets date to null

      Workaround

      use .withNextDayOfWeek("TEXT")

      ex: .withNextDayOfWeek("MON")

              Unassigned Unassigned
              f0c0705745fe Christopher Coykendall
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: