Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Delete whitespaces from a String using Smart Value


Hi everyone,

I want to get a String without whitespaces using smart values (in Project Automation), which copies values of a Multi-user picker field into a single-line text field.

By simply using {{issue.myField}}, It puts white spaces between usernames:

usernameA, usernameB, usernameC

I've tried :




but all characters were deleted!

Do you know how I can remove those spaces?


4 answers

0 votes

This can solve your problem:


{{yourfield.replace(" ", "")}}

I've not tested this but I am pretty sure all you need to do is



Hi @Parvaneh Zand 


Have you fixed this issue? Please share possible solution.



I am not sure you still need it but I was facing the same issue and I found a workaround.

Use the Create Variable component to create the smart value without the space (using remove or Replace function)

Screenshot 2021-05-11 at 13.12.48.png


For some reason, the Edit issue field component did not work for me each time I tried to type the character space. But editing inside the create Variable component worked perfectly.

You can then use those smart variables inside the Edit Issue Field component.

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you