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

Transforming wikimarkup in textarea into HTML (Email Notifications)

    XMLWordPrintable

Details

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      I attached the file issueresolved.vm, where I made the changes to view the custom field (Freetext with wiki renderer) 10150:

        #if($issue.getCustomFieldValue("customfield_10150"))
          <tr bgcolor="#ffffff"><td>
              <b>Analyse:</b> <br/>
      	<pre>
              $issue.getCustomFieldValue("customfield_10150")
      	</pre>
          </td></tr>
        #end
      

      The custom field contains e.g. the following entry in wiki notation:

      Line 1: *bold text*
      
      Line 3: {{monospaced text}}
      

      The way it is implemented right now renders the following output:

      Line 1: *bold text* Line 3: { {monospaced text}}

      However, I want the output to be rendered ideally with the renderer configured for this field. If that does not work, I would also hardcode the wiki renderer. (As for my understanding, the wiki-text must somehow be translated to HTML, so that it is correctly inserted into the HTML eMail.

      Reference: http://confluence.atlassian.com/display/JIRA/Adding+Custom+Fields+to+Email

      Attachments

        1. jra-16264-3.13.1.zip
          4 kB
        2. jsp-32999.zip
          5 kB

        Issue Links

          Activity

            People

              jpendleton Justus Pendleton (Inactive)
              tchin Timothy Chin [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: