Our goal is to send informations from Asana custom fields to devops fields, for example :
Asana priority > devops Priority
Asana Area > devops Area
Asana Iteration > devops Iteration
steps you’ve tried :
I created the Asana module : ok
I created the devops module : ok
I updated the Asana task, adding devops url in description of Asana task : ok
It works well for basic information: name / description / date but not for custom fields
if i use custom fields, it seems select the last because a can’t select the good using a specific path, key or id.
es you are getting
You’ll need to iterate through the custom fields, and then Array Aggregate to the Asana task field as the “Target Structure Type”.
Aggregators are modules that accumulate multiple bundles into one single bundle. An example of a commonly-used aggregator module is the Array aggregator module. The next popular aggregator is the Text Aggregator which is very flexible and has applies to many use-cases.
The Array Aggregator module allows you to “build” a complex array of collections for a later field that allows you to map multiple items (collections) to it.
Here is an example of using the “Target structure type” of an Array Aggregator module:
The Map function on fields are used when you have multiple items. You can easily build a single array variable to insert in the field when the Map is on, by using an Array Aggregator module and select the “Target Structure Type” as the future field you want to map the array into.
This way, you can map more than one custom field.
2 Likes
Thank you for your answer.
I saw the very interesting video : Extract an Item from Array | Get and Map Function | Make Beginners Guide
I test it from json (Asana output) to tools and that works !
my test from a json are successfull :
I user :
The result is ok :
So after i test it in Asana to devops and that work.
That is my Asana output to devops for the “devops - Area” :
BECAREFULL don’t use the fiel name showing but the in the label
The name showing is Custom Field Name
But we must call : name
I put in my description the map function to check if that is ok :
And the result is ok :
Many thanks to you !
1 Like
Hi there @bavibavi welcome to the community
Congrats on getting this up and running with the pointers from @samliew and with the help of the video you’re mentioning
Thank you very much for stepping back in here and letting us know what did the trick for you and what your final setup was. This is much appreciated because it could help many other users who are looking for similar information down the road
2 Likes