Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-59426

JIRA Macro couldn't render issues when the custom field contains multi-byte characters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Resolved Locally
    • Low
    • None
    • 6.15.9, 7.2.1
    • Macros - Jira Macros
    • None

    Description

      Issue Summary

      JIRA Macro couldn't render issues when the filter contains multi-byte characters.

      Environment

      • Confluence 6.15.9 and 7.2.1
      • JIRA 8.1.0

       

      Steps to Reproduce

      1. Install JIRA 8.1.0
      2. Create a project
      3. Create two custom fields as follows
        1. Create a custom field with Russian characters (срок исполнения)
        2. Create another custom field with English characters(period of execution.)
      4. Install Confluence 6.15.9 and integrate it with the JIRA
      5. Create a space and a page
      6. Use JIRA Macro with the following two types of custom fields
      7. Check if the macro works fine in the preview dialog

      Expected Results

      Even if we use Russian characters in the custom field, the issue should be rendered on the page as it works fine with the other custom fields which contain only English characters.

      Actual Results

      When we use Russin characters in the custom field, the issue wasn't rendered on the page correctly.

      Workaround

      1. Stop Confluence
      2. Add the following line into the setenv.sh/setenv.bat file
        setenv.sh

        CATALINA_OPTS="-Dfile.encoding=UTF-8 ${CATALINA_OPTS}"

        setenv.bat

        set CATALINA_OPTS=-Dfile.encoding=UTF-8 %CATALINA_OPTS%

      1. Start Confluence

      Attachments

        Issue Links

          Activity

            People

              qpham@atlassian.com Quan Pham
              ppragasam@atlassian.com Puventhira Pragasam (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: