Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-16123

Assets postfunction "Set a Jira custom field with the attribute value from a selected object" does not handle Text/TextArea attributes formatting on Text/TextArea Customfields

    • 1
    • 1
    • We collect Jira Service Desk 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.

      Problem Definition

      Assets postfunction that would copy Text/TextArea attribute to a Jira Text custom field does not handle the text markup/markdown formatting correctly

      Test Set up:

      • Object type with both Text and TextArea attributes:
      • put in a bunch of formatting text in both the attributes in this object:
      • Assets Object Custom field where I chose this object as the value:
      • Added two Set a Jira custom field with the attribute value from a selected object post-functions to map Text Attribute to Text Custom field and TextArea to TextArea custom field:
      • Both the Text and TextArea custom fields are made Wiki Style Renderers:
      • transition the issue to trigger the post-function:

      Result:

      • TextArea attribute mapped custom field TextArea is showing up as HTML
      • Text attribute mapped custom field Text is better but not showing up correctly either

      Suggested Solution

      Make Assets postfunction maintain the Wiki rendering of Jira markup for text custom fields.

        1. 2025-02-12_14-25-39.png
          67 kB
          Suddha
        2. 2025-02-12_14-26-50.png
          73 kB
          Suddha
        3. 2025-02-12_14-28-10.png
          35 kB
          Suddha
        4. 2025-02-12_14-32-46.png
          123 kB
          Suddha
        5. 2025-02-12_14-34-53.png
          138 kB
          Suddha
        6. 2025-02-12_14-39-36.png
          76 kB
          Suddha

            [JSDSERVER-16123] Assets postfunction "Set a Jira custom field with the attribute value from a selected object" does not handle Text/TextArea attributes formatting on Text/TextArea Customfields

            SET Analytics Bot made changes -
            Support reference count New: 1
            SET Analytics Bot made changes -
            UIS New: 1
            Security Metrics Bot made changes -
            Labels New: ril
            Security Metrics Bot made changes -
            Remote Link New: This issue links to "Internal ticket (Web Link)" [ 999662 ]
            Suddha created issue -

              Unassigned Unassigned
              smitra2@atlassian.com Suddha
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: