Azure DevOps REST API 在 Sprints(迭代积压)板中的列之间移动任务

发布于 2025-01-12 20:09:22 字数 595 浏览 2 评论 0原文

我正在尝试在 Sprints Board 中的列之间移动任务(Boards/Sprints 中的列而不是 Boards/Boards 中的任务)。当使用默认的敏捷流程任务时,只有 3 种状态(新建、活动、关闭),但有 4 列(新建、活动、测试、关闭),用户可以轻松添加更多状态。我找不到通过 REST 移动任务的方法,因为“活动”列和“测试”列共享相同的“活动”状态。

我知道我可以创建一个继承的流程并将任务配置为具有更多状态,以便它们可以与列一对一,但我正在尝试找到一种方法来移动不需要在 DevOps 中进行任何特殊配置的任务。

到目前为止,我尝试通过以下方式获取列扩展字段:

GET https://dev.azure.com/{org name}/{project name}/{team name}/_apis/work/boards/Stories?api-version=6.0

which game me path /fields/WEF_972C71911C3C4154B957B669F5464FCC_Kanban.Column 并允许我在故事板(在板/板中)移动用户故事。有什么办法可以让这个与 Sprint Board 一起工作吗?

I'm trying to move tasks between columns in Sprints Board (the one in Boards/Sprints NOT in Boards/Boards). When using the default Agile process tasks only have 3 states (New, Active, Closed) however there are 4 columns (New, Active, Testing, Closed) and users can easily add more. I can't find a way to move tasks via REST since Active and Testing columns share the same Active state.

I know I can create an inherited process and configure tasks to have more states so they can be one-to-one with columns, but I'm trying to find a way to move tasks that doesn't require any special configuration in DevOps.

So far I tried getting columns extension field via:

GET https://dev.azure.com/{org name}/{project name}/{team name}/_apis/work/boards/Stories?api-version=6.0

which game me path /fields/WEF_972C71911C3C4154B957B669F5464FCC_Kanban.Column and allowed me to move User Stories in Story Board (in Board/Board). Any way to make this work with Sprint Board?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文