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: ian@magazinemanager.com (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.
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 {{customer.name}}.
I think you can even do this with the simple form:
Hope this helps!
Cheers,
Andreas
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.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.