且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用 Rally Java RestAPI 在定义的工作区中创建一个项目

更新时间:2023-11-30 14:21:04

GitHub 中有用户指南 此处.这将引导您了解如何设置项目以及如何使用 API 提供给您的方法.

There is a user guide in GitHub here. This walks you through how to set up a project and how to use methods provided to you by the API.

还有完整的 API 文档此处.

There is also full API Documentation here.

在 GitHub 页面上,它还为您提供了一个指向 Web 服务 API 文档的链接,但您需要登录 Rally 才能查看该文档.

On the GitHub page, it also gives you a link to the Web Services API documentation, but you will need a Rally login to view this.

  • 创建一个新的 Java 项目
  • 确保您在 Java 项目中拥有所有必需的 jar(在文档中列出)
  • 将rally-rest-api 依赖项添加到您的pom.xml(文档中列出的步骤)
  • 使用...实例化一个新的 RallyRestAPI 对象
RallyRestApi restApi = new RallyRestApi(new URI("https://rally1.rallydev.com"), "user@company.com", "password");

然后使用 restApi 来使用文档中提供的方法.

Then use restApito use the provided methods from the documentation.