Skip to main content

If anyone is using Asana, please help me. I have the portfolio, projects, and users table in my FME workspace. I am trying to figure out a way to be able to use the project GID to be able to get their tasks but there's a problem with the tasks table. The task api has an endpoint to ONE projects. I am envisioning where I can pick different projects and be able to look at their tasks.

 

Does anyone have any idea? I was thinking about looping but I'm having a hard time understanding how I would loop if the task's api can only GET one project.Screenshot 2023-12-22 151106

Can you call the Tasks api after reading in the project data? In this way you pass one feature for each project, and I expect you should then be able to read the tasks of each project.

image


@geomancer​ 

Few issues I'm seeing is that 1) I get an error with how many request I am making to Asana which is an issue OR 2) I'm having issues with the httpcaller based on Asana API.

 

The end part of this is that all of these will be in Snowflake and that is where I would be pulling different data for reports. The task table is preventing me from moving forward because I'm not sure how I would just connect in order to request the reports. One of the few reports I need to pull would be getting all the data of the projects to see how long each project took to complete and how long each task in each project took.


Probably you make too many requests at the same time. It may help to set the Number of Concurrent HTTP Requests or the Maximum Requests per Interval in the HTTPCaller.

You can also add a Decelerator transformer before the HTTPCaller.


Reply