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

How to get <username> after "Add new Service Desk customer" automation?

I am collecting an email address (CC) for JIRA issues that we want to use for the "Request Participant". I can get the value from the custom field {{issue.customfield_10056}} for an automation rule to "Add new Service Desk customer" and they get added correctly. However, when I try to set the request participant using the email, nothing happens with the "Request Participant" field (although I don't get any errors.

"fields": {

"customfield_10015": [{"emailAddress": "{{issue.fields.customfield_10056}}"}]}



When I try to set it using the name, I get an error "Error editing issuesTS-153 (Could not find usernames: (customfield_10015))"

"fields": {

"customfield_10015": [{"name": "{{issue.fields.customfield_10056}}"}]}



Is there a way to get the username from the previous automation step where we "Add new Service Desk user"? Can I use the newly created user as a request participant to the issue that was just created?


Note: after the automation adds the service desk user, I am able to set it manually to that user by typing in their email address in the request participants. So everything is in place, I just don't have the new user name.

2 answers

1 accepted

3 votes
Answer accepted

Hi Ian,

You should be able to use the {{customer}} smart-value.  The "Add new SD customer" action will populate this with the user object.  So you can then use {{}}.

I think you can even do this with the simple form:


Hope this helps!


That worked perfectly, exactly as in the screen shot. Thank you.

Hi @andreas 

How do you set the customer to the reporter-field when they already have an account? This means the step of adding a new customer and populating the customer-fields is skipped, right?

I only have the e-mailadress of the customer to go on.


Suggest an answer

Log in or Sign up to answer
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 ...

479 views 5 19
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