Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-10827

Insight import UI displays wrong weekdays when using Cron Expression

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 4.20.2
    • Mindville - Pre Bundled, 4.20.0
    • None

      Issue Summary

      Insight import UI displays wrong weekdays when using Cron Expression.

      Steps to Reproduce

      1. Create an Object Schema
      2. Create any Insight Import Configuration (CSV, Discovery or any other)
      3. Tick "Automatically synchronize" and set the following Cron Expression

        0 27 12 ? * 3


      4. Insight UI translates to 'At 12:27 PM, only on Wednesday'
      5. Cron is triggered on Tuesday instead of on Wednesday

      Expected Results

      Insight UI should display 'At 12:27 PM, only on Tuesday'.
      Wednesday field is 4 and Tuesday is 3

      Ref: http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html

      Actual Results

      Insight Displays the wrong day (Wednesday) when the import will be triggered.

      Workaround

      Instead of using Day-of-week field, to avoid confusion, use for example, “MON,WED,FRI” in the day-of-week field. For this scenario would be:

      0 27 12 ? * TUE

          Form Name

            [JSDSERVER-10827] Insight import UI displays wrong weekdays when using Cron Expression

            There are no comments yet on this issue.

              828a13f9a5a4 François Dénommée (Inactive)
              9f03f4114502 Pablo Bartolome
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: