Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation Smart Value - Catch Line Break

Mathew Lederman
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 20, 2025

Is there a way to only return the first line of a multi-line text field in an automation rule using smart values?

1 answer

0 votes
Manon Soubies-Camy
Community Champion
May 20, 2025

Hi @Mathew Lederman,

You can use the split function for that. Here’s an example that returns the first line of the Description field:

{{description.split("\n").first}}

Hope this helps!

- Manon

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events