Questions tagged [asana-api]

The Asana API is a RESTful interface, providing programmatic access to much of the data in the system

The Asana Api is a RESTful interface, providing programmatic access to much of the data in the system. It provides predictable URLs for accessing resources, and uses built-in HTTP features to receive commands and return responses. This makes it easy to communicate with from a wide variety of environments, from command-line utilities to gadgets to the browser URL bar itself.

The API accepts JSON or form-encoded content in requests and returns JSON content in all of its responses, including errors. Only the UTF-8 character encoding is supported for both requests and responses.

189 questions
1
vote
1 answer

How to iterate through two dataframes create new one?

I'm working with the Asana Python API to pull a list of tasks and stories, which are returned as dictionary objects. There is a 1:many relationship between tasks and stories. I want to create a dataframe which has each story as one record, but with…
user1355179
  • 89
  • 1
  • 8
1
vote
1 answer

How to convert Asana API response with multiple JSON objects to Python objects

I'm new to Python. I'm working on a script to send notifications on overdue Asana tasks. I'm running into issues with converting the Asana API response, which is a JSON with multiple objects that represent tasks, to Python objects. For now, all I…
Tim Bandu
  • 13
  • 2
1
vote
1 answer

Asana API 403 Response in C#

I am trying to implement a Xamarin app that works with the Asana API. I have successfully implemented the OAuth as documented in the Asana documentation here... at least I assume it is successful. I get an access token from the token endpoint in an…
1
vote
1 answer

Download .csv from an indirect Asana link

This code creates a download but not of the linked file as it is not direct. When I open the .csv file it downloads, it appears to be the data from the redirect, not the file linked to the redirect. This is the code: Sub Asana() Dim myURL As…
LLF
  • 53
  • 7
1
vote
0 answers

Loop with multiple HTTPWebRequest and JSON deserializer slow

Problem I have a C# application where I have around 40 to 50 different Asana Task ID's. I want details for each ID so what I do is make a request in a for loop for each ID. The data is in JSON format: // For each result in the data. foreach (var…
user11077594
1
vote
1 answer

ASANA API display all tasks in PHP script

I am using a simple php script which generates a task's name (it is quite long, that's why I build a generator for generating it). Right now I need to copy generated name to ASANA, while I am creating a new task but I know that using ASANA API it…
pobliska
  • 237
  • 1
  • 4
  • 13
1
vote
1 answer

Update "favorite" field for a project in Asana API

There's no documentation for updating the favorite field. Currently I'm trying the following method: PUT https://app.asana.com/api/1.0/projects/{projectid} Post data: { "data": { "favorite": true } } There's no error reported. The Asana…
1
vote
1 answer

Create Task in Asana Node.js

Using the below in Node trying to create a task within Workspace. I have omitted the AccessToken & WorkspaceID numbers. Suspect I'm doing something really dumb :) var asana = require('asana'); var client =…
David
  • 33
  • 5
1
vote
1 answer

Asana API: Notification for followers upon task creation

I am creating tasks through the Asana API and adding followers in the process. The followers appear properly on the task in Asana but don't receive notification emails. If the same user is added in the Asana front-end they will receive that…
Manuel
  • 11
  • 1
1
vote
1 answer

Asana: Query for all tasks in a workspace

I am using Asana REST API for connecting Asana tasks with our app. I would need to query for a task from our app, but I don't know in which project to search for that task. Is there a way to query for all tasks in a specific workspace? As I can see…
Silko
  • 584
  • 1
  • 8
  • 26
1
vote
1 answer

Is it possible to create a task with an attachment in Asana?

I am looking at the following references: https://asana.com/developers/api-reference/tasks and https://asana.com/developers/api-reference/attachments. Am I correct to assume that you cannot create a task with an attachment in it using the Asana's…
1
vote
1 answer

Can't create Task with Tag in Asana

When I try to create a task using the JSON below, I get this error: { "errors": [ { "message": "tags: [0]: Not a valid ID type: object", "help": "For more information on API status codes and how to handle them,…
Eric Legault
  • 5,706
  • 2
  • 22
  • 38
1
vote
1 answer

How to setup a webhook on Asana API

I'm trying to setup a webhook on Asana with the following: token = uri = URI.parse("https://app.asana.com/api/1.0/webhooks") request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer #{token}" request.set_form_data( …
WagnerMatosUK
  • 4,309
  • 7
  • 56
  • 95
1
vote
1 answer

Asana - How to get all tasks that are completed in a team

I am trying to develop summary data of length of time from task creation to task completion for all tasks in a certain team. I want to look at how lang it is taking from start to finish on tasks (on average) for any given month. My team has 30 - 40…
Eric Snyder
  • 1,816
  • 3
  • 22
  • 46
1
vote
1 answer

How to get status update history from Asana APIs

I would like to be able to access the history of status updates on a project in Asana. I've tried getting this information from the "stories" endpoints, but they seemed to only focus on the task's history. Any suggestions?
Chris Nicol
  • 10,256
  • 7
  • 39
  • 49
1
2
3
12 13