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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,558,747
Community Members
 
Community Events
184
Community Groups

Operating with multi-select fields in Confiforms IFTTT

I am playing with Confiforms multiselect fields and was wondering how to access members in that array so that I can pass them to another IFTTT service url as parameter. See the example below:

 

  1. I transform multi-select array in this way in the format I need
    • [entry.multi.transform(label).join(&name=)]
  2. It makes the result in an array and adds &name= in between:
    • Element1 Name&name=second Name1&name=one More Name
  3. I add transformed array to 'Service URL' (one of the options):
    • /groups?permission=PROJECT_WRITE&name=[entry.multiWrite.transform(label).join(&name=)]
    • /groups?permission=PROJECT_WRITE&name=[entry.multiWrite.transform(label).join(&name=)]
  4. Then the error result the text is different:
    •  all the spaces are replaced with +, e.g. 'Element1+Name'
    •  &name= is replaced to %26name%3D
    •  &name= is replaced to %26name%3D

 

Is it possible to turn off this unnecessary character transformation?

If not, then how can I access element one by one and fire a lot of IFTTT actions depending on the size of multiselect if this is not possible? 

 

 

1 answer

0 votes
Alex Medved _ConfiForms_
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.
May 06, 2021

Hi

Before sending the request to your service the parameters get URL encoded. This is what happens. Why this is a problem? 

Alex

the consumer of API doesn't like percentage signs :) Is it possible to turn off this encoding?

 

 

I would like to use multi-select values and each second value start with "&name=". E.g. item1&name=item2&name=item3.

This construct is done by [entry.multi.transform(label).join(&name=)] and would like that won't be transformed to %%%% in REST URI

Alex Medved _ConfiForms_
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.
May 21, 2021

We need to properly URL encode the URLs before doing the requests - this is the way it works. 

And you need to url decode the parameters on your consumer service. Just like everybody does

At the moment there is no way to "turn this off", sorry

Alex

Ok, will not use this element then :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events