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 a list with the previous due dates of the current issue in descending order.

Expression

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

issue.changelogs.filter(changelog => changelog.items.some(item => item.fieldId == 'duedate' && item.from != null)).
map(changelog =>  {duedateentry: changelog.items.filter(item => item.fieldId == 'duedate' )}).
map(e => new CalendarDate(e.duedateentry[0].from).toString()).join(", ")


Feature

Field type

Smart text field

Parsing mode

Jira expression

Expression
issue.changelogs.filter(changelog => changelog.items.some(item => item.fieldId == 'duedate' && item.from != null)).
map(changelog =>  {duedateentry: changelog.items.filter(item => item.fieldId == 'duedate' )}).
map(e => new CalendarDate(e.duedateentry[0].from).toString()).join(", ")
Label
Use case description

Return a list with the previous due dates of the current issue in descending order.

Complexity