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

Insight post function - Date attribute to Jira date picker custom field will copy the wrong date by one day

      Issue Summary

      Using Insight post function to copy a date attribute to a Jira custom fie

      Steps to Reproduce

      • In any ObjectType, create an attribute Type Value date;
      • Create an Insight Custom field (Field A) and add it to the issue screen;
      • Configure the Insight custom field;
      • Use the date attribute in Object attributes on Issue view;
      • Create a Date picker custom field and add it to the project screens;
      • In the Project workflow, create a Insight Post Function in any transition, and select 'Set a Jira custom field with the attribute value from a selected object'
      • Use the Insight field as Source, and the Jira date picker field as Target, make sure to use the date attribute in 'Insight Object Type Attribute name'

      Expected Results

      • When performing the transition, the date copied to Jira custom field should be the same as the attribute.

      Actual Results

      • When performing the transition, the date will be copied one day before the attribute date.

      Reproduced in Insight 9.0.2 bundled version, and 8.7.2

      Workaround

      No workaround is currently available

        1. screenshot-1.png
          72 kB
          Pedro Souza
        2. image-2022-02-22-17-07-50-806.png
          397 kB
          Sam Xu
        3. image-2022-02-22-17-10-45-310.png
          34 kB
          Sam Xu

            [JSDSERVER-7145] Insight post function - Date attribute to Jira date picker custom field will copy the wrong date by one day

            Sam Xu made changes -
            Resolution New: Cannot Reproduce [ 5 ]
            Status Original: In Progress [ 3 ] New: Closed [ 6 ]
            Sam Xu made changes -
            Attachment New: image-2022-02-22-17-10-45-310.png [ 417194 ]
            Sam Xu made changes -
            Attachment New: image-2022-02-22-17-07-50-806.png [ 417193 ]
            Sam Xu made changes -
            Assignee New: Sam Xu [ jxu2@atlassian.com ]
            Sam Xu made changes -
            Status Original: Short Term Backlog [ 12074 ] New: In Progress [ 3 ]
            Alex Cooksey made changes -
            Remote Link Original: This issue links to "Page (Confluence)" [ 620250 ]
            Alex Cooksey made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 620250 ]
            Yann made changes -
            Status Original: Gathering Impact [ 12072 ] New: Short Term Backlog [ 12074 ]
            Yann made changes -
            Status Original: Short Term Backlog [ 12074 ] New: Gathering Impact [ 12072 ]
            Alex Cooksey made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 617337 ]

              jxu2@atlassian.com Sam Xu
              psouza Pedro Souza
              Affected customers:
              3 This affects my team
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: