-
Type:
Bug
-
Resolution: Timed out
-
Priority:
Low
-
Component/s: Space Administration - Workflows and statuses
-
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
- Go to Jira Settings > Issues > Workflows
- Click on the Workflow, go to a Transition and "Add a Post-function"
- Select the "Update issue custom field" option
- Choose a Custom field that was created using the multi-line text field
- Add a value such as '%%CURRENT_DATETIME%%'
- 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.