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

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

Set up three custom fields

Create a custom field of type: Text Field (multi-line)

Name: Status Update

Create a second custom field of type: Text Field (multi-line)

Name: Current status

Create a third custom field of type: Text Field (multi-line)

Name: Status History

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

Set up a transition screen

Create a new screen

Name: Status Update Screen


Add the field Status Update to the newly created screen.

Create a workflow transition

Create a new transition with the following parameters:

From Status: Any

To Status: Itself

Name: Status update

Screen: Status Update Screen

Set up workflow validator

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

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

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.

Use case details