Hi, At present we created Confifrom, that User provides, FirstName, LastName and email address. once submitted it will create ticket in Jira, and our Automation script, will add account in target application.
Now I am looking for User can enter multiple user records, in single Confiform request,
I didn't find multi dimensional array or similar to submit request. May I know is there a way to user can input multiple user records in single request.
Thanks Alex for the response,
I am trying to use the user multi-select field. If I select multiple users,
when passing values, to JIRA with IFTTT integration,
How can we pass values of single user
Like
user1-user1@mail.com
user2-user2@mail.com
instead of
user1, user2-user1@mail.com,user2@mail.com
IFTTT syntax:
"description":"*App Name:* [entry.AppName.label]\n*Role:* Developer\n*Requested Users :*[entry.Users.asUserNames.]-[entry.Users.asUserEmails.asArray]"
Consider using "iterateAndPrint" function instead
[entry.Users.iterateAndPrint([entry.username] - [entry.email] \\n)]
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Each field in ConfiForms should have a corresponding ConfiForms Field Definition macro.
Which means you need to submit multiple forms to create multiple "accounts"
You can set up a form to have "inline add" (TableView, for example, if you are using server/data center version of the app) and submit new records as in excel.. but still you need to do it one-by-one
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex, if [entry.username] has value as firstname,lastname how can we replace comma with space firstname lastname,, i tried with repace(',', '') but not worked as expectced.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
username.split(,).join( )
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex, Thanks for the response, but it seems not working as expected. User field is multi select user field in IFTTT rules i am trying to pass the user attributes fullname email to jira ticket. *Requested Users :* [entry.PlaystoreUsers.iterateAndPrint([entry.fullName.split(,).join( )]-[entry.email],)]. user fullname and email are getting from jira/confuence when i specified like this, at Jira, i see as Requested Users : [entry.fullName.split(
current output without split(,).join( ) : 1Fname,1LName-1Fname.1Lname@abc.com,
2Fname,2LName-2Fname.2Lname@abc.com,
I think this is occurring if jira/confluence user arttribute fullname has comma in it. I would like to replace comma from whitespace from fullname attribute value
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have not really mentioned anything that it is a user field and in addition it is a multi-select :)
That is changing the context quite a bit...
I am not sure though, what is not working for you with
[entry.PlaystoreUsers.iterateAndPrint([entry.fullName.split(,).join( )]-[entry.email],)]
This looks correct, however, when trying it myself I see that it does not work
We will look into this more closely. Sorry about the inconvenience
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please update ConfiForms to latest version (3.15.2) to get this issue addressed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.