Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Xporter iterate over user picker

Deleted user Sep 11, 2019

Hi 

I am creating custom templates to user to exportering with Xporter. 

I have a custom field, a user picker (multiple users). I want each username to be displayed on a new line. 

RIght now when userning ${fullname:<user picker>} they are displayed in a sinle line. So how to i get each name to be displayed on a new line?

\n and <br> did not work 

1 answer

1 accepted

Hi Victoria,

Try this:

%{var users= ‘${fullname:<user picker>}’; users=users.replaceAll(‘, ’,’\n’); users;}

This should work.

Kind regards,

Rui Rodrigues.

Thanks! However, it only worked partially... only after the first name a new line was created the rest of them are still on printed on the same line. So now the outpit looks like: 

Person 1

Person 2, Person 3, 

How do I get all of them on a single line? 

Hi,

Sorry, it was my fault. Check the example now. I've updated.

Thanks.

Deleted user Sep 26, 2019

Awesome now it works. Thank you!

Hello Rui,

I have similar question, I used above solution and it worked however i want to put in table format. I am having trouble in displaying these list in table format, can you please help me.

thanks

Geeta

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

45 views 0 3
Read article

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