如何通过用户嘉尚获得任务 [英] How to get tasks by user in Asana
问题描述
我已经使用嘉尚API让自己一个小工具来获得分配给我的所有任务的概览刚刚开始。
I've just started using the Asana API to make myself a little tool to get an overview of all tasks assigned to me.
我可以做各种事情,比如让所有工作组,项目,用户通过项目等,但不知何故,我无法找到如何让每个用户的所有任务任务。
I can do all kinds of things, like getting all Workgroups, Projects, Users, Tasks by Project etc. But somehow I cannot find how to get all Tasks per user.
当您登录到体位,你会得到分配给您的所有任务的概述。这就是我尝试使用API来实现。下面你会发现我现在使用GitHub的项目。
When you login to Asana, you get an overview of all tasks assigned to you. That's what I try to achieve using the API. Below you'll find the GitHub project I'm using right now.
Github上:体位API
推荐答案
我想我明白你的要求。从文档,undering的的查询任务的,它建议使用过滤为此受让人
参数。题为相邻例如在工作区或组织分配给我的任务显示显得特别有用。你会主动要求:
I think I understand what you're asking. From the documentation, undering Querying for Tasks, it suggests using the assignee
parameter for filtering for this purpose. The adjacent example entitled Show tasks assigned to me in a workspace or organization seems particularly useful. You would make a request to:
/任务的工作区= 14916&放大器;受让人=我
如果你想在所有的工作区所有的任务,你必须遍历您的工作区,使这种查询。
If you want all tasks across all workspaces, you'll have to iterate over your workspaces and make this kind of query.
这篇关于如何通过用户嘉尚获得任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!