-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest-projects-tasks.json
More file actions
75 lines (75 loc) · 1.91 KB
/
test-projects-tasks.json
File metadata and controls
75 lines (75 loc) · 1.91 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
{
"version": "1.0",
"name": "Projects to Tasks Iteration Example",
"description": "Gets projects, then iterates to get all tasks from each project",
"sequence": [
{
"method": "GET",
"path": "/projects",
"summary": "Get projects",
"description": "Returns projects from a workspace",
"tags": ["Projects"],
"parameters": {
"path": {},
"query": {
"workspace": "YOUR_WORKSPACE_GID_HERE",
"limit": "5",
"opt_fields": "gid,name,completed"
},
"body": null
},
"variableMappings": {}
},
{
"method": "GET",
"path": "/tasks",
"summary": "Get tasks from 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
}
],
"unifiedColumns": [
{
"name": "task_info",
"formatTemplate": "{name} - {completed ? 'Done' : 'Pending'}",
"sourceFields": ["name", "completed"]
}
]
},
"timestamp": "2025-11-12T00:00:00.000Z",
"baseUrl": "https://app.asana.com/api/1.0"
}