Skip to main content
Skip table of contents

Number of times that a custom field has been changed

Return the number of times that a custom field has been changed since the work item was created.

Configuration

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

Expression

CODE
issue.changelogs
.filter(changelog => changelog.items
.some(item => item.fieldId == 'customfield_nnnnn'))
.length 

Please, replace nnnnn with the ID of your custom field in the above expression.

Format

Default

JavaScript errors detected

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

If this problem persists, please contact our support.