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

JiraRendererPlugin.transformFromEdit not invoked on comment field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 6.3.12, 7.2.3, 7.1.9
    • Java API

      Summary

      When trying to implement the com.atlassian.jira.issue.fields.renderer.JiraRendererPlugin interface in developing a custom renderer, it appears that the transformFromEdit method isn't actually working correctly for Comments.

      Steps to Reproduce

      1. Use attached TestRenderer.java to build add-on JAR
      2. Upload to JIRA
      3. Modify Field Configuration so that Description and Comment renderer is
        "Test Renderer"
      4. Update a Project so that the updated Field Configuration is used.
      5. In that Project, create a new Issue an then comment on it.

      Expected Results

      Description and Comment will both have the text "transformFromEdit" inserted by the Renderer.

      Actual Results

      Only Description has the text modified as expected. Comment only seems to respect transformForEdit.

            Unassigned Unassigned
            rstadler@atlassian.com Russell Stadler (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: