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 Added

Image Added


Image ModifiedPrerequisites

UI Expand
titleSet up Create 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
titleSet up Create 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
titleCreate Set up a workflow transition


ui-steps
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 Expand
titleSet up workflow validator


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:

SCREENSHOTImage Added





Image ModifiedConfiguration

UI Steps


UI Step

Target issue*

Choose Current issueAdd 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

Current Configure the field: Current  Status field

UI Steps


UI Step

Field

*

Choose Current Status


UI Step

Expression

*

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

UI Steps


UI Step

Field

*

Choose Status History


UI Step

Expression

*

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

Code Block
languagebash
linenumberstrue
%{issue.cfaaaaa} + "\n\n" + %{issue.cfbbbbb} 


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 field

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 RemovedScreencast

Image Added


Image ModifiedRelated use cases

Page properties report
firstcolumnUse case
headingsTypeJWT feature, Function, Use case description, ComplexityWorkflow function, Parser functions, Label
sortByTitle
cqllabel = "use-case-workflow" and ancestor = "27067093"


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue

PanelborderColor#1b878ftitleColor#1b878ftitleBGColorwhitetitleUse case details


Page properties
hiddentrue




Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide
Function

<link to function being used>

Type

 <link each symbol to parent page of the function category / e.g. conditions/ validators...)>

Use case description

<Short description of use case>

Complexity
Status
colourGreen
titleBeginner
 
Status
titleIntermediate
  StatuscolourYellowtitleadvanced 

Status
colour

Red

Green
title

Parser hero Page properties
hiddentrue

done

Page status
Status
Tech review

Status
titletodo

Style guide

Status
Ready for review
colourYellowRed
titlenot complete
Screenshot

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