Skip to main content
Skip table of contents

Number of characters in a field

Return / count the number of characters in any text field including spaces.

Configuration

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

Expression

CODE
%{count(findPattern(%{issue.cfnnnn}, "."))}

Please, note that it is necessary to replace nnnnn with the ID of the custom field containing the URL.

A common use case would be to count the characters of the work item description. This is helpful if you are preparing social posts and have a character limitation. The expression would then be:

CODE
%{count(findPattern(%{issue.description}, "."))}
image-20250916-111217.png

Format

Custom format

Pattern

#,##0.##

Used parser functions

The links lead to the JWTC documentation because the parser functions are shared functionalities.

JavaScript errors detected

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

If this problem persists, please contact our support.