Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel

On this page

Table of Contents
maxLevel2
exclude(On this page|Use case).*
stylecircle
typeflat
separatorpipe



UI Text Box
sizemedium
typeinfo

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.


Image ModifiedPrerequisites

UI Expand
titleCreate three custom fields


UI Steps


UI Step

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

Name: Status Update


UI Step

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

Name: Current status


UI Step

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

Name: Status History


UI Step

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




UI Expand
titleCreate a transition screen


UI Steps


UI Step

Create a new screen

Name: Status Update Screen


UI Step

Add the field Status Update to the newly created screen.




UI Expand
titleSet up a workflow transition


UI Steps


UI Step

Create a new transition with the following parameters:

From Status: Any

To Status: Itself

Name: Status update

Screen: Status Update Screen


UI Step

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


UI Step

Field

Status Update


UI Step

Condition

Is required


UI Step

Message to show when validation fails

Code Block
Please enter a status update!



UI Step

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

SCREENSHOT





Image ModifiedConfiguration

UI Steps


UI Step

Add an Update or copy field values post function to the workflow transition created in the prerequisites section.


UI Step

Target issue

Choose Current issue


UI Step

Configure the field: Current  Status

UI Steps


UI Step

Field

Choose Current Status


UI Step

Expression

Set the parsing mode to Advanced text and use the following expression

Code Block
linenumberstrue
"*" + dateTimeToString({system.currentDateTime}, "yyyy-MM-dd", USER_LANG) + "* - *" + %{system.currentUserFullName} + "*\n" + %{issue.cfnnnnn}


UI Text Box
typeinfo

%{issue.cfnnnnn} is the field code for the field Status Update





UI Step

Configure the field: Status History

UI Steps


UI Step

Field

Choose Status History


UI Step

Expression

Set the parsing mode to Advanced text and use the following expression

Code Block
languagebash
linenumberstrue
%{issue.cfaaaaa} + "\n\n" + %{issue.cfbbbbb} 
#adds the current status to the history after inserting a line break


UI Text Box
typeinfo

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

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





UI Step

Configure the field: Status Update

UI Steps


UI Step

Field

Choose Status Update


UI Step

Value

Choose Clear field value



UI Text Box
typeinfo

The field value must be cleared, so users will be presented with an empty text field the next time they leave a status update.



UI Step

User

Choose Current user




Image ModifiedScreenshots



Image ModifiedRelated use cases

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Parser functions, Label
sortByTitle
cqllabel = "use-case-workflow" and ancestor = "27067093"


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Workflow function

Update or copy field values

Fields required or changed

Parser functionsdateTimeToString()
Label



Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titletododone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged