Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-268

getValue always returns 00:00:00 for time component of date/time field

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.5.3
    • Fix Version/s: 4.1.2
    • Component/s: None
    • Labels:
      None
    • Environment:

      Jira 5.2.11

    • Critical Points:
      0

      Description

      When using the behaviour plugin and attempting to get the value of a date/time field, getValue always returns 00:00:00 for time. Example:

      FormField StallStartDate = getFieldById("customfield_17086")
      StallStartDateVal = StallStartDate.getValue()

      Actual Field Value: 17/Dec/13 3:54 PM
      Returned Value: Tue Dec 17 00:00:00 UTC 2013

        Attachments

          Activity

            People

            Assignee:
            jechlin Jamie Echlin
            Reporter:
            Steve Masturzo Steve Masturzo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: