得到异常
com.rallydev.lookback.LookbackException:授权失败,请检查用户名和密码
我也有 API 密钥。但我不知道如何使用回溯 api
下面是我的代码
LookbackApi lookback = new LookbackApi()
.setServer("https://" + "rally1.rallydev.com")
.setProxyServer("http://" + "proxyserver" + ":" + "proxyport")
.setProxyCredentials("testuer","testpass")
.setWorkspace("/workspace/1234");
LookbackResult result = lookback.newSnapshotQuery()
.addFindClause("_TypeHierarchy", -51038)
.execute();
请问有什么建议吗?