Create
cancel
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

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

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

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
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

46 views 0 1
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