Forums

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

Assigning multiple users in Insight

markwhaite
Contributor
August 12, 2021

Hi All

I have a new project form in JSD. It has a number of custom fields. One of which is members. This is a list of users. 

I am then applying an automation to the ticket to create an object in Insight. 

I am using smart value to populate the values in insight.

However, the I get a message when it runs. Which is:

Error creating Object'Members' - The value provided is invalid

However, if I use logging I see that the values are right. I have tried object.accountId and DisplayName, as well as just the list. 

As anyone seen this? 

Thanks

Mark

1 answer

0 votes
Lisa Grau
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.
August 12, 2021

Hi Mark,

what type is the Insight field? Is it a text field, reference, picker, ...?

markwhaite
Contributor
August 12, 2021

The field in Insight object is a User. The custom field in the JSD form is a User Picker (multiple users) type. The Insight Object is set to allow a number of users and when added via the Insight UI I can add a number of users. 

It maybe that it is not possible to add more than a single user from JSD to Insight. 

I have an issue with another form that adds a single user to the members. This works but, does remove the other users. I am working on that now. ;) 

markwhaite
Contributor
August 12, 2021

@Lisa Grau 

UPDATE

It seems that the values in Insight are a list? They return the data in [] so [xxxx, xxxxx]. I am passing the data in the form xxxxx, xxxxxx. Which maybe the issue. 

Alas I cannot see anyway of appending a list nor how you can create or cast one. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events