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
0
votes
0 answers

Asana Rest Api - Upload Attachment not loading image

I'm having some trouble uploading an image to an asana task. I get a 200 on the response but when I navigate to the image it is not loading and appears broken. Here is what my request header looks…
0
votes
0 answers

Response code Null (0) today, app was working yesterday (API Integration)

I have integrated Asana task lists into my company's website for our development team. All was going well until today - the page I created now errors out with a response code of NULL (or 0). In my very limited experience, this is an issue with the…
0
votes
2 answers

Asana API - get all conversations of team

Asana's API looks great, but I tried to get all conversations per team and I didn't find way to do this. Is there a best solution to get conversations from Asana? Any ideas? Thanks.
Sysanin
  • 1,501
  • 20
  • 27
0
votes
1 answer

How to fetch Asana task created by users by API?

Am using PHP class (https://github.com/ajimix/asana-api-php-class) to fetch asana task through its API. I want to fetch task created by specific user (am not talking about assignee here because my assignee gets change). Currently, my approach is:…
Zeeshan
  • 165
  • 1
  • 13
0
votes
1 answer

Asana API Fetching tasks in date range - PHP

I have tried alot but didn't found any parameter to call the only data I need from Asana API . I need data in date range. I have to fetch all the data and than need to filter according my need. This is very painful.
arwaz shaikh
  • 1,341
  • 2
  • 9
  • 15
0
votes
1 answer

How to get a lists of tasks that are unassigned, but completed by me?

I'm trying to fetch all the tasks that have been completed by me, irrespective of whether they have been assigned to me. Right now I'm pulling all the tasks that are assigned to me and completed by me using -…
0
votes
1 answer

How to authorize asana api using requests library?

I have following details : asana personal access token, asana client-id, asana client secret. I have installed requests. I dont know how to use these details and access my asana user details, projects etc.
ancho
  • 1,060
  • 16
  • 24
0
votes
1 answer

What the "primary" email of a user in Asana

Asana accounts can have multiple emails associated to them, but getting a user from the API only returns 1 email. So which one will it return? Is there a concept of a primary email? https://app.asana.com/api/1.0/users/me
Marc
  • 3,243
  • 3
  • 23
  • 26
0
votes
1 answer

asana-api-php Fatal error: Class 'Error' not found

When attempting to use the Asana API PHP library from here https://github.com/Asana/php-asana I get the following error: Fatal error: Class 'Error' not found in \src\Asana\Dispatcher\OAuthDispatcher.php on line 49 I realise the error is because the…
0
votes
1 answer

Asana returns spurious 500 errors with cryptic messages

I am seeing spurious HTTP 500 errors with cryptic messages. For example, doing a GET using oauth on /projects/28408740055707 I see a response body: {"errors":[{"message":"Server Error","phrase":"24 purple woodchucks wriggle fast"}]} I've also seen…
Alan Berezin
  • 533
  • 4
  • 13
0
votes
2 answers

How to get tag id by its name via asana api?

I want asana tag id if i provide tag name via asana api call. Is there any method from which i can directly achieve this? Alternative, i can get all the tags in workspace and filter through it matching with my id but this will be long process. Any…
Zeeshan
  • 165
  • 1
  • 13
0
votes
1 answer

Completed sections in Asana API

Since sections in Asana are usual tasks, they can be completed. Asana API provides an ability to receive sections of a project https://asana.com/developers/api-reference/projects#sections, but unfortunately, it returns all sections including the…
Dmytro Nesteriuk
  • 8,315
  • 1
  • 18
  • 14
0
votes
1 answer

Asana API retrieve project owner, status and deadline

Is there a way using the Asana api to retrieve the project owner, project status, project description and project deadline? I checked the API docs and could not find anything, so I am assuming the answer is no (but confirmation is much…
ML_Dev
  • 105
  • 1
  • 5
0
votes
1 answer

How create subtask with python-asana

How to create subtask with python-asana? I can create a task, but how to create subtask in the task? client.tasks.create(name=task[0], projects=ASANA_PROJECT_ID, workspace=ASANA_WORKSPACE_ID, notes=notes)
surge_
  • 133
  • 1
  • 2
  • 9
0
votes
1 answer

How to fetch completed task though Asana API in PHP

I written code so far: $projectId = 'XXXXXXXXXXX'; $tasks = $asana->getCompletedTasks($projectId); Function call public function getCompletedTasks($projectId){ return…
Chiku
  • 107
  • 11
1 2 3
12
13