Forums

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

Unsure how to replace the pipe symbol to prevent table breakage

Heidi Hendry
Contributor
July 21, 2025

Using Edit work item action on a multi-line text field.



The results of my smart value has a pipe | symbol in it. Unfortunately, because I'm putting this smart value into a table (with a lot of other data), it's creating a new cell.

This is what I'm trying in the multi-line text field:

|Field name: |{{issue.parent.customfield_11111.replace("|","-")}}|

Resulting in

 Field name:  prefixsuffix

 

but the result that I want is

 Field name:prefix | suffix

or even

 

 Field name:prefix - suffix


How do I replace the pipe symbol?

1 answer

0 votes
Marc - Devoteam
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.
July 22, 2025

HI @Heidi Hendry 

This should be doable, you should try to double the pipe.

Like; {{issue.parent.customfield_11111.replace("||","-")}}

Heidi Hendry
Contributor
July 22, 2025

Thank you for responding so quickly. But that did not appear to work. I now get a blank entry:

 Field name: 
Marc - Devoteam
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.
July 23, 2025

Hi @Heidi Hendry 

So it does work as it replaces the pipes.

So the solution is to not use pipes or other reserved keywords/symbols.

What is your custom field providing as input, so what are the values in that field.

Otherwise try to create a variable.

Within creating the variable, replace the pipe from the value and then use:

|Field name: |{{<variable_name>}}|

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events