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

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        1. image-2021-11-02-11-51-25-675.png
          5 kB
          François Dénommée
        2. image-2021-10-26-15-10-19-089.png
          255 kB
          Pablo Bartolome
        3. image-2021-10-26-15-08-13-890.png
          140 kB
          Pablo Bartolome

        Issue Links

          Activity

            People

              828a13f9a5a4 François Dénommée (Inactive)
              9f03f4114502 Pablo Bartolome
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Backbone Issue Sync