Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-12200

Reporter system field throws ClassCastException after populateFromIssue() and validateFromParams()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 4.0
    • None
    • Issue - Fields
    • None

    Description

      When you populate the reporter system field from the issue using ReporterSystemField#populateFromIssue() then validating the field value with ReporterSystemField#validateParams() you get a ClassCastException.

      Steps to reproduce:

      1. populate reporter field with populateFromIssue() stores User into the field values holder
      2. validate the reporter field with validateParams() which is expecting a String and casts the field value to which causes the ClassCastException

      Attachments

        Issue Links

          Activity

            People

              dylan@atlassian.com Dylan Etkin [Atlassian]
              sam@atlassian.com Sam Chang [Atlassian]
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 8h
                  8h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h Time Not Required
                  3h