Post-Function "Update issue custom field" doesn't render <new line> using Append

XMLWordPrintable

    • 3
    • Severity 3 - Minor

      Issue Summary

      Using the Workflow Advance function to set a transition that create a Post-function to "Update issue custom field" and Append a value for multi-line custom text field, doesn't work.
       

      Environment

      Jira Cloud

      Steps to Reproduce

      1. Go to Jira Settings > Issues > Workflows
      2. Click on the Workflow, go to a Transition and "Add a Post-function"
      3. Select the "Update issue custom field" option
      4. Choose a Custom field that was created using the multi-line text field
      5. Add a value such as '%%CURRENT_DATETIME%%'
      6. tick the "Append" checkbox and update the Post-Function -> Publish your workflow to save changes.

      Expected Results

      • The value should be appended once the transition is passed.

      Actual Results

      • The New Value is set, rather than appended.

      Workaround

      For some reason, adding this "\n" with a 1 <space> character then the intended text actually appends the value but it still shows this "\n" character as part of the text. This way the new line is actually added to the value field. e.g. "\n %%CURRENT_DATETIME%%"

      Note

      • Also note, that due to using this \n, and then using functions such as %%CURRENT_DATETIME%% doesn't render the current date anymore.

            Assignee:
            Unassigned
            Reporter:
            Prince N (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: