asana

Can I use Asana access_token in the backend?

邮差的信 提交于 2019-12-11 04:31:15
问题 I have an Angular App as a front-end client and a Rails back-end API. I'd like to access Asana's API and and would like to authorise it via the Angular App, so I'm following their OAuth process called Implicit Grant Flow . After the authorisation process I get a access_token but when trying to use this code on Postman (in order to test the API call I'll implement on the back-end) I get an 401, not authorised code. Is there a way I could get the user to authorise via the Angular and then

How do I connect to the Asana Rest API using c#?

此生再无相见时 提交于 2019-12-11 03:29:33
问题 Does anyone have a snippet of code for connecting to the Asana API using c#? There is a Hello World application on their site but unfortunately it is written in ruby. https://asana.com/developers/documentation/examples-tutorials/hello-world I'm doing this as a quick side project and can only dedicate a small amount of time to it. Any help would be greatly appreciated. Thanks in advance! Follow up: I've tried multiple ways of accessing/authentication and I keep getting a 401 Not Authorized

Access ASANA via windows powershell using APIKEY

为君一笑 提交于 2019-12-08 12:45:53
问题 I have created this following two codes in powershell to access ASANA. But both of them dont work. I always get this error "The remote server returned an error: (401) Unauthorized." Any help appreciated. If you have a working C# code that can connect to any secure server with only APIKey, please post it. I could convert it to powershell code. Code 1 Function Get-WebResponseString { param ( [Parameter(Mandatory=$true)] [String]$Url, [Parameter(Mandatory=$true)] [String]$Method, [Parameter

Get asana tasks in project with assignee information

送分小仙女□ 提交于 2019-12-07 12:58:04
问题 I am trying to retrieve asana tasks within a project. I would like to retrieve assignee information in the same query. I tried this query and got assignee id: curl -u <key>: "https://app.asana.com/api/1.0/projects/<project-id>/tasks?opt_fields=name,created_at,assignee I want get assignee name. So I include "opt_expand=assignee": curl -u <key>: "https://app.asana.com/api/1.0/projects/<project-id>/tasks?opt_fields=name,created_at,assignee&opt_expand=assignee I still don't get assignee name.

Get archived tasks from asana

对着背影说爱祢 提交于 2019-12-06 15:53:54
问题 We are trying to get the tasks from Asana using the Asana API to create a customized dashboard. But we couldn't get archived tasks using the API. Is there anyway to get all tasks including the archived tasks using the API? If this feature doesn't exist will it be added in the upcoming releases? Thanks in advance 回答1: There's actually a flag, include_archived that you can set to true , which will cause a query for tasks to (you guessed it!) include the archived tasks as well. See https://asana

How can I view all tasks with no assignee and no project in Asana?

百般思念 提交于 2019-12-06 15:53:49
问题 Especially if I don't know its name. Related question 回答1: You can do this with the new search (announced in http://blog.asana.com/2013/04/asana-search-views/#more-1188) Click the drop-down button on the search field. Search for "Assigned to Nobody ; In projects No Project " (both fields will autocomplete from "No") Click search, see your results, rejoice! 来源: https://stackoverflow.com/questions/15163905/how-can-i-view-all-tasks-with-no-assignee-and-no-project-in-asana

Asana API - how to get incomplete tasks only?

旧街凉风 提交于 2019-12-06 06:19:57
问题 How do I get a list of tasks from a project that are incomplete? I tried to add ?completed=false and ?completed=0 at the end of the tasks URL: https://app.asana.com/api/1.0/projects/[project id]/tasks?completed=false ... doesn't seem to work. Whether its set to true or false, it is always returning the same tasks. I've spot checked to make sure there are completed tasks in there. background info: I'm only trying to do this so that I don't get the entire list of tasks all the time. I need the

Change priority headings for a task with the api

时光总嘲笑我的痴心妄想 提交于 2019-12-05 19:10:32
I know it's possible to create a priority headings with the api (a task ends with :). Someone knows if it's possible to assign a priority headings to a task thanks to the api ? Thanks, Ludovic Even though this feature is not supported literally by the API, you can still use a workaround to do it. First, get the ID of the priority heading that must be on top of your task. Then, change the order (priority) of the task with the method "addProject" on the task's endpoint and move it right after the desired priority heading. curl -u api_key: https://app.asana.com/api/1.0/tasks/task_id/addProject -d

Asana API - how to get incomplete tasks only?

非 Y 不嫁゛ 提交于 2019-12-04 11:51:03
How do I get a list of tasks from a project that are incomplete? I tried to add ?completed=false and ?completed=0 at the end of the tasks URL: https://app.asana.com/api/1.0/projects/[project id]/tasks?completed=false ... doesn't seem to work. Whether its set to true or false, it is always returning the same tasks. I've spot checked to make sure there are completed tasks in there. background info: I'm only trying to do this so that I don't get the entire list of tasks all the time. I need the entire list of tasks because right now as I understand it there is no way to get the section a task is

get asana project id

人盡茶涼 提交于 2019-12-04 04:23:00
I am trying to find out how to get the workspace and project id's from the main web app. I cant seem to find them anywhere. I am attempting to write a VB.Net app and am trying to get some info out of the API other than 400 Bad request. If I had these id's I might be able to get further Stevo_300 I put app.asana.com/api/1.0/workspaces into a browser (after I had logged into Asana) and it gave me all of my workspace ID's. The Project ID is most easily found in the URL of your project when using the web interface: https://app.asana.com/0/{PROJECT_ID}/... . It works with API calls such as pointing