You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

On this page

Use case

<Use case description>

Prerequisites

Set up custom fields

Create a multi-line text custom field

Name: Status Update

Create a multi-line text custom field

Name: Current status

Create a multi-line text custom field

Name: Status History

Go to the Field configuration and set the renderer of the 3 custom fields to "Wiki Style Renderer".

Set up workflow validator

Add to the newly created transition the Fields required or changed validator.

Field*

Status Update

Condition*

Is required

Message to show when validation fails

Please enter a status update!

Once set up, the validator should look something like this:

SCREENSHOT

Configuration

Target issue*

Choose Current issue

Current Status field

Field*

Choose Current Status

Expression*

Set it to Advanced 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

Status History field

Field*

Choose Status History

Expression*

Set it to Advanced and use the following expression

%{issue.cfaaaaa} + "\n\n" + %{issue.cfbbbbb}

%{issue.cfaaaaa} is the field code for the field Current Status

%{issue.cfbbbbb}is the field code for the field Status History


Status Update field

Field*

Choose Status Update

Value*

Choose Clear field value

User*

Choose Current user


Screenshots



Screencast



Related use cases


If you still have questions, feel free to refer to our support team.