我正在尝试使用Google App脚本引擎为Google Apps表添加拉力赛功能。除了在试图与Rally连接的Google Apps系统上管理用户的身份验证外,一切看起来相当简单。除了Auth位之外,Google的UrlFetchApp.fetch()函数似乎也能做到这一点。有什么建议么?如何从Google App脚本连接到拉力赛?
function RallyQuery(sz, order, fetch, stylesheet)
{
if (typeof fetch === "undefined"){ fetch = true; }
if (typeof stylesheet === "undefined"){ stylesheet = "/slm/doc/webservice/browser.xslsz";}
var result = "[null]";
var query = "https://rally1.rallydev.com/slm/webservice/1.42/task?query=" + sz
+ "&order=" + order
+ "&fetch=" + fetch
+ "&stylesheet=" + stylesheet;
result = UrlFetchApp.fetch(query);
return result;
}
你是什么意思“似乎做伎俩”?您能否发现您遇到的特定错误或问题? – TronicZomB 2013-04-30 01:51:00