-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest-import.json
More file actions
85 lines (85 loc) · 2.3 KB
/
test-import.json
File metadata and controls
85 lines (85 loc) · 2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"version": "1.0",
"name": "Iteration Example: Projects and Their Tasks",
"description": "Demonstrates iteration functionality - get projects, then iterate through each project to get its tasks",
"sequence": [
{
"method": "GET",
"path": "/projects",
"summary": "Get multiple projects",
"description": "Returns the compact project records for some filtered set of projects.",
"tags": ["Projects"],
"parameters": {
"path": {},
"query": {
"limit": "5",
"workspace": "1234567890123456",
"opt_fields": "gid,name,completed,notes"
},
"body": null
},
"variableMappings": {}
},
{
"method": "GET",
"path": "/tasks",
"summary": "Get tasks for each project (with iteration)",
"description": "This step iterates through each project from step 1 and gets its tasks",
"tags": ["Tasks"],
"parameters": {
"path": {},
"query": {
"project": "{{item.gid}}",
"opt_fields": "gid,name,completed,assignee.name,due_date",
"limit": "20"
},
"body": null
},
"variableMappings": {},
"iteration": {
"enabled": true,
"sourceField": "step0.data",
"iterationVariable": "item",
"unifyResults": true
}
}
],
"dataTransformations": {
"fieldMappings": [
{
"sourceField": "gid",
"targetField": "task_id",
"isUnified": false
},
{
"sourceField": "name",
"targetField": "task_name",
"isUnified": false
},
{
"sourceField": "completed",
"targetField": "is_completed",
"isUnified": false
},
{
"sourceField": "assignee.name",
"targetField": "assignee_name",
"isUnified": false
}
],
"unifiedColumns": [
{
"name": "task_info",
"formatTemplate": "{name} - {completed ? 'Done' : 'Pending'}",
"sourceFields": ["name", "completed"]
},
{
"name": "task_assignment",
"formatTemplate": "Task: {name} | Assigned to: {assignee.name || 'Unassigned'}",
"sourceFields": ["name", "assignee.name"]
}
]
},
"timestamp": "2025-11-12T00:00:00.000Z",
"baseUrl": "https://app.asana.com/api/1.0"
}