asana

Create an external link in a comment in Asana

前提是你 提交于 2020-01-07 09:24:44
问题 I'm trying to create a link to a document in a shared company drive. I cannot upload the document (confidentiality) to Asana servers. Also, I am not referring to a "@" + task or person type of link. I do not want to link to a workspace or a task. I am referring to a "O:\folder\keydoc.doc" type of link. I can paste the link as plain text, but it would be much better if it could be clicked directly. 回答1: Unfortunately we do not support this at this time. Even if we did provide support for links

Create an external link in a comment in Asana

a 夏天 提交于 2020-01-07 09:22:09
问题 I'm trying to create a link to a document in a shared company drive. I cannot upload the document (confidentiality) to Asana servers. Also, I am not referring to a "@" + task or person type of link. I do not want to link to a workspace or a task. I am referring to a "O:\folder\keydoc.doc" type of link. I can paste the link as plain text, but it would be much better if it could be clicked directly. 回答1: Unfortunately we do not support this at this time. Even if we did provide support for links

Creating Asana tasks from Google Apps Script

白昼怎懂夜的黑 提交于 2020-01-06 21:06:57
问题 I am trying to create tasks in Asana using google apps scripts. I do manage to read (GET method) any kind of information from asana, but when I try to do a POST like creating a new task in a specific workspace and project, it creates the task but using default values ignoring json data that I pass. this is the code I've been using: function createTask (taskName, wsId, projectId, asigneeId) { var encoded = Utilities.base64Encode(asanaKey + ":"); var options = { "method" : "POST", "headers" : {

How to correctly deal with 302 status code

天大地大妈咪最大 提交于 2020-01-06 19:42:06
问题 Im not sure how i should deal with a HTTP_STATUS of 302 in my response to an API request? Im trying to write a small Node.js script and i have a feeling this is to do with the HTTPS upgrade of the request i send? Any help would be great 回答1: It's nothing (specifically) to do with HTTPS, it just a temporary redirect. Read this article on Wikipedia. 来源: https://stackoverflow.com/questions/12420686/how-to-correctly-deal-with-302-status-code

How do I query archived tasks in Asana via their API

淺唱寂寞╮ 提交于 2020-01-02 03:34:07
问题 I am interested in exporting data from Asana so we can run reports off of it. To do this, I will need to get a list of all tasks, including those archived. My understanding of the API that lists tasks is that if the task is archived, it will not be retrieved when getting tasks for a project. Is there a way to query all tasks, regardless if they are archived? 回答1: There was already such question. According to Asana API there is no such opportunity. To ask why, you should ask Asana support team

How can I access custom fields from Asana API using Python?

时光毁灭记忆、已成空白 提交于 2019-12-25 08:09:08
问题 I'm trying to pull down the values of custom fields from my Asana list. I'm using the Official Python client library for the Asana API v1. My code currently looks like this; import asana api_key = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" client = asana.Client.basic_auth(api_key) me = client.users.me() all_projects = next(workspace for workspace in me['workspaces']) projects = client.projects.find_by_workspace(all_projects['id']) for project in projects: if 'Example Project' not in project[

How to set custom_fields that has an enum_value using a POST HTTP request?

房东的猫 提交于 2019-12-25 05:13:13
问题 I'm trying to set a custom_fields of type enum_value in a task that I'm creating with a POST HTTP request. I managed to set a custom_field of type number but I'm having issue with the custom_fields of type enum_value Questions: Here's what I did so far: 1- I created the custom_fields that I want to populate on asana, I can set custom_fields of type number but not the ones of type enum_value ( see picture attached) Here's my code (I tried different implementations to set the custom_fields that

ASANA API and Access-Control-* headers

筅森魡賤 提交于 2019-12-25 05:12:14
问题 I am writing some code to call the Asana API from the browser. XDR requests emitted from the browsers all begin with a call to OPTIONS to get the Access-Control-* headers, but Asana server does not seem to response to them: Request URL:https://app.asana.com/api/1.0/users?opt_pretty=true&opt_fields=name,email Request Method:OPTIONS Status Code:404 Object Not Found Request Headers: Accept:*/* Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3 Accept-Encoding:gzip,deflate,sdch Accept-Language:fr-FR

Updating a custom field using ASANA Python API

♀尐吖头ヾ 提交于 2019-12-25 04:24:28
问题 I'm trying to update the values of custom fields in my Asana list. I'm using the Official Python client library for the Asana API v1. My code currently looks like this; project = "Example Project" keyword = "Example Task" print "Logging into ASANA" api_key = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" client = asana.Client.basic_auth(api_key) me = client.users.me() all_projects = next(workspace for workspace in me['workspaces']) projects = client.projects.find_by_workspace(all_projects['id'])

HTTP POST multipart/form-data upload file using Java on the Asana API [closed]

强颜欢笑 提交于 2019-12-25 01:46:27
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . How can I use purely java.net to attach a file to a task using the Asana API? Specifically, how do I make a well formed HTTP POST multipart/form-data encoded request to the Asana API in order to successfully attach a file to a task? 回答1: The Asana API expects attachments to be