Examples of using smart values with text strings

Smart Fields support a number of text manipulation functions.  This works with any
'text' type field such as summarydescription, and text custom fields.  You can also use text manipulation functions on issue sub-attributes, such as the {{issue.reporter.displayName}}.

For example, if you'd like to send out a Slack message with an abbreviated issue description, you can now easily do this with the following smart value:

{{issue.description.abbreviate(200)}}

This smart value results in the first 200 characters of the issue description followed by ....

You can use these functions in conditions as well, so if you want sum up a text field only if the field is a number, {{issue.Field Name.isNumeric}} is your friend.

Last modified on Apr 6, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.