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
1 answer

Get a list of all tasks and subtasks from Asana REST API

I am trying to get all the tasks and subtasks for an Asana project by hitting the REST endpoint https://app.asana.com/api/1.0/tasks?project=1234&opt_fields=... but this only gives the tasks, not all subtasks or sub-subtasks etc. I don't see any…
Jonathan Bennett
  • 1,055
  • 7
  • 14
0
votes
1 answer

Exporting Asana tasks to CSV via PyPi's Asana API module

I need to export all Asana tasks within specific projects of my workspace to a csv file. I have been doing this manually via Asana's advanced search but the Asana generated csv file only supports < 2000 entries which no longer suits my needs. The…
Kat hughes
  • 55
  • 1
  • 6
0
votes
1 answer

Create a task with attachments in Asana using Asana api

I am trying to send an image using Asana's API but it just attaches a blank file. This is the code I have been…
0
votes
1 answer

Requiring external libraries when building Chrome extensions

I am trying to build a chrome extension, that when clicking on the toolbar icon will call a function that interfaces with Asana's api (https://asana.com/developers/documentation/getting-started/quick-start). Here's my…
r3x
  • 2,125
  • 5
  • 23
  • 39
0
votes
1 answer

Creating an asana task with asana api gives invalid identifier error

MY Payload looks like this. var data={ "workspace":"1234", "name": task_name , "notes":striped_msg , "memberships":[ { …
Rohit Kumar
  • 669
  • 3
  • 9
  • 22
0
votes
1 answer

Asana API - GET all Attachments in a Workspace (+ the view_url param)

I'm wondering if there's a way to get all attachment view_urls for an Asana workspace. The company I work for is looking to do a sweep of their Asana attachments to make sure everything that should be living in a proper file store (i.e. Google…
Jackson Hardy
  • 35
  • 1
  • 4
0
votes
0 answers

Dialog is not shown when called Slack slash command through api

Using slack slash command i got trigger_id. Using trigger_id i called dialog and getting response as {"ok":true} but dialog is not appearing in the channel. public function sendDialogs($trigger_id) { $json = '{ "callback_id": "ryde-46e2b0", …
0
votes
1 answer

Auto Exporting data from a custom field in Asana

I am looking for a way to be able to select a custom drop down field within Asana and have it automatically export a .json file of the task. Is there any way to do this automatically? Or would I have to pull the data out through the API from…
0
votes
1 answer

i am trying to create task in asana with custom fields

i am trying to create task in asana with custom fields data but its gives me fatal error, if i am not attach custom field it properly task created. But i want to create task with custom field mean i am also want to custom field data require…
0
votes
1 answer

Asana API PHP : list all tasks by users (or assignee)

I want to list all tasks (and their custom fields) assigned to each user (assignee). My loop to list all users works. But, I don't success to list their tasks (and tasks' custom fields). Indeed, the answer is null... Where I'm wrong ? How to list…
Alexis
  • 21
  • 1
  • 3
0
votes
1 answer

How to Retrieve (not create) Tasks from Asana using Apps Script & Personal Access Token

I am attempting to retrieve, but not create, tasks from Asana using Google Apps Script. Using the Asana API Explore, I have constructed a URL that returns the data I desire:…
Brandon
  • 3,572
  • 2
  • 12
  • 27
0
votes
1 answer

How can I use ASANA.com on Android Studio?

I want to use ASANA on Android Studio. I entered my username and password and then entered my project number incorrectly but gave me an error My question is: How to connect to this service? How do I use this service on Android Studio? This is…
Majid Ahmadi Jebeli
  • 517
  • 1
  • 6
  • 22
0
votes
1 answer

Archiving an Asana Project using the API

How can I archive a project using the api? The api documentation for projects shows that projects have an 'archived' attribute, but when I try to update it, I get a message that it's read only.
0
votes
1 answer

How can I set a task to completed using the Asana API?

I'm wondering how to use the Asana APIs to send the command to complete a task. I was trying something like: https://app.asana.com/api/1.0/tasks/417207316735809/?opt_pretty&completed=true but it doesn't work like that, I've checked the…
atgn
  • 3
  • 5
0
votes
0 answers

Upload multiple attachments to the same task via api

Is it actually possible to upload multiple attachments to the same task with a single request? My current code is this: uri = URI "#{ASANA_ENDPOINT}/tasks/#{asana_id}/attachments" connection = create_connection request = Net::HTTP::Post.new…
Highander
  • 1
  • 1