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

Evaluate if a user has logged more than a certain amount of time in the latest worklog.



Configuration

UI Steps


UI Step

Jira expression*

Code Block
linenumberstrue
let wk = issue.worklogs;
wk[wk.length-1].timeSpent < 25200


Evaluate the duration of the last worklog of the issue without a transition screen.

UI Text Box
typeinfo

This expression evaluates if the latest worklog was longer than 7 hours. The time logged must be expressed in seconds, e.g.  7 hours would need to be converted to 25200 seconds.



UI Expand
expandedtrue
titleVariants


UI Steps


UI Step

Jira expression*


Code Block
linenumberstrue
(issue?.timeSpent ||0) - (originalIssue?.timeSpent||0) <= 25200


Validate the last worklog in a transition screen.

UI Text Box
typeinfo

This expression checks if the last worklog was longer than 7 hours (25200 minutes).



UI Step

Jira expression*

Code Block
linenumberstrue
(issue?.timeSpent||0) > (originalIssue?.timeSpent ||0)

Evaluate if time was logged during the transition.

UI Text Box
typeinfo

This expression returns true if time is logged in a transition screen.








Related use cases

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Use case description, Complexity
sortByTitle
cqllabel = "use-case" and label = "jira_expression" and space = currentSpace()


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Workflow function

Jira expression condition

Jira expression validator

Parser functions
Use case description

Evaluate if a user has logged more than a certain amount of time in the latest worklog.

 

Complexity





Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
titletodo

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