Skip to main content
Skip table of contents

Historical due dates

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

Configuration

Create a Custom smart text field and use the Jira expression parsing mode.

Expression

CODE
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(", ")
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.