Remove either the label use-case-smart-text or use-case-smart-number depending on the feature the use case is based on

Use case

Return the date of the last time that the status of the current issue was changed. If it was never changed, return the creation date.

Expression

Create and configure a Smart field using this expression in Jira Expression parsing mode:

issue.changelogs.filter(changelog => changelog.items.some(item => item.fieldId == 'status')).map(changelog => changelog.created).concat(issue.created)[0].toString()
Feature

Field type

Smart text field

Parsing mode

Jira expression

Expression
 issue.changelogs.filter(changelog => changelog.items.some(item => item.fieldId == 'status')).map(changelog => changelog.created).concat(issue.created)[0].toString()
Label
Use case description

Return the date of the last time that the status of the current issue was changed. If it was never changed, return the creation date.

Complexity