Forums

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

Carriage Return Removal

Conway_ Claire _GT COO - Operations Supp L_ GCOO Centre_
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 18, 2025

I am having issues with carriage returns entered into the resource name of one of our tickets. This breaks the jira loader if present. I am able to create jira automation rules to get rid of spaces etc but I am unsure how to do this for carriage return.

 

1 answer

1 accepted

1 vote
Answer accepted
Sushant Verma
Community Champion
August 18, 2025

Hi @Conway_ Claire _GT COO - Operations Supp L_ GCOO Centre_ 

Welcome to the community!

To remove carriage returns from a field value in Jira Align using automation rules, you can use the replaceAll() smart value function. This is similar to how you'd remove spaces or other characters.

You can use the following smart value in your automation rule:

{{issue.ResourceName.replaceAll("\n", " ")}}
  • \n represents a newline or carriage return.
  • Replace it with a space " " or any other character you prefer.

If you're using a Create Variable action first, you can store the field value and then apply the transformation:

{{varResourceName.replaceAll("\n", " ")}}

 

Regards,
Sushant Verma
Conway_ Claire _GT COO - Operations Supp L_ GCOO Centre_
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 18, 2025

This is great Sushant! Thank you very much for your help 

Sushant Verma
Community Champion
August 18, 2025

@Conway_ Claire _GT COO - Operations Supp L_ GCOO Centre_ You're welcome. If you found the answer useful, please consider accepting it to help others in the community.

Regards,
Sushant Verma

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events