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

Scripted Field (Date of First Transition) exported as XML would show invalid value

    Details

    • Type: Bug
    • Status: Triage
    • Priority: L3
    • Resolution: Unresolved
    • Affects Version/s: 6.21.0
    • Fix Version/s: None
    • Component/s: Scripted Fields
    • Labels:
      None
    • Critical Points:
      2.2

      Description

      When exporting Scripted Field (Date of First Transition) as XML format, the value would show as <![CDATA[ $xmlutils.escapeForCdata($value.toString()) ]]>, making the date/time unreadable.

      Steps to Reproduce

      1. Create a new Scripted Field (Date of First Transition) and configure it to a certain Status (e.g.: In Review)
      2. Add it to a Screen of a Project
      3. Go to an Issue in the Project using the Screen
      4. Transition the Issue into the configured Status
        • Note the Scripted Field is now populated
      5. Go to Issue Navigator, search for the Issue, set the 'Columns' to display the Scripted Field
      6. Export the Issue as XML

      Expected Behaviour

      The Scripted Field value in the exported XML should display the date/time value

      Actual Behaviour

      The Scripted Field value in the exported XML displays as <![CDATA[ $xmlutils.escapeForCdata($value.toString()) ]]>

      Note

      This bug is occurring in certain versions of Jira. Has been tested to occur in Jira 8.13.3 and 8.15.0. The bug has been tested to not occur in Jira 8.0.0.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            imazuki Irfan Mazuki
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated: