On this page
Use case
Status updates are key to successfully managing projects. Usually you need to capture additional information which often gets lost in the comment history.
This use case combines multiple custom text fields and populates the automatically using post functions.
Prerequisites
Configuration
Add an Update or copy field values post function to the workflow transition created in the prerequisites section.
Target issue*
Choose Current issue
Configure the field: Current Status
Field*
Choose Current Status
Expression*
Set the parsing mode to Advanced text and use the following expression
"*" + dateTimeToString({system.currentDateTime}, "yyyy-MM-dd", USER_LANG) + "* - *" + %{system.currentUserFullName} + "*\n" + %{issue.cfnnnnn}
%{issue.cfnnnnn} is the field code for the field Status Update
Configure the field: Status History
Field*
Choose Status History
Expression*
Set the parsing mode to Advanced text and use the following expression
%{issue.cfaaaaa} + "\n\n" + %{issue.cfbbbbb} #adds the current status to the history after inserting a line break
%{issue.cfaaaaa} is the field code for the field Current Status
%{issue.cfbbbbb}is the field code for the field Status History
Configure the field: Status Update
Field*
Choose Status Update
Value*
Choose Clear field value
The field value must be cleared, so users will be presented with an empty text field the next time they leave a status update.
User*
Choose Current user
Screenshots
Screencast
Related use cases
If you still have questions, feel free to refer to our support team.