如何将访客或成员添加到通过Asana API创建的项目中? [英] How can I add guests or members to projects created through the Asana API?

查看:110
本文介绍了如何将访客或成员添加到通过Asana API创建的项目中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前有一个脚本,其中包含一个人员列表并创建一个新的Asana项目,每个人一个.这些人不在我们的Asana组织中,需要被邀请作为各自项目的客人.如果我尝试在API请求中包含followersmembers属性,则会被拒绝,并且文档将这些属性列为read-only.

I currently have a script that takes a list of people and creates new Asana projects, one for each person. These people are not in our Asana organization and need to be invited as guests to their respective projects. If I try to include a followers or members property in my API request, I get denied, and the docs list those properties as read-only.

我注意到这个问题是一年半以前的,一位Asana工程师说,这已经在API路线图上了,他希望很快将其发​​布.似乎该工程师不再在Asana工作,因此对他的回复不会帮我,但是在这方面是否取得了任何进展?能够以编程方式邀请客人参加每个项目将节省大量时间.谢谢!

I noticed this question from over a year and a half ago, where an Asana engineer said that it was on the API roadmap and that he hoped to publish it soon. It seems like the engineer in question no longer works at Asana, so replying to him won't help me, but has any progress been made on this front? Being able to invite guests to each project programmatically would be a huge time saver. Thanks!

推荐答案

我们决定将其保留为只读端点.抱歉造成混乱.

We decided to keep this as a read-only endpoint. Apologies for the confusion.

您可以通过API 在任务上添加和删除关注者.也许您可以调整工作流以使用任务而不是项目.

You can add and remove followers on a task through the API. Perhaps you could adjust your workflow to use tasks instead of projects.

这篇关于如何将访客或成员添加到通过Asana API创建的项目中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆