Working with Text/String

Still need help?

The Atlassian Community is here for you.

Ask the community

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.

You can find all of the text functions in the text reference and read more on Text and Date functions in Automation for Jira Server in this article.

Last modified on Oct 26, 2021

Was this helpful?

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