Azure devops 如何通过RESTAPI将主题专家发布到Azure DevOps

Azure devops 如何通过RESTAPI将主题专家发布到Azure DevOps,azure-devops,azure-devops-rest-api,Azure Devops,Azure Devops Rest Api,我正在向Azure DevOps推送一个需求列表,其中包括标题、描述、标记和优先级。我还想添加主题专家,但没有找到有关语法的任何信息 到目前为止,我已尝试使用以下选项发布: {"op": "add","path": "/fields/Microsoft.VSTS.Common.SubjectMatterExpert","from": null,"value": "test"} {"op": "add","path": "/fields/Microsoft.VSTS.Common.Subject

我正在向Azure DevOps推送一个需求列表,其中包括标题、描述、标记和优先级。我还想添加主题专家,但没有找到有关语法的任何信息

到目前为止,我已尝试使用以下选项发布:

{"op": "add","path": "/fields/Microsoft.VSTS.Common.SubjectMatterExpert","from": null,"value": "test"}

{"op": "add","path": "/fields/Microsoft.VSTS.Common.SubjectMatterExperts","from": null,"value": "test"}

{"op": "add","path": "/fields/Microsoft.VSTS.Common.SubjectMatterExpert1","from": null,"value": "test"}

{"op": "add","path": "/fields/System.SubjectMatterExpert","from": null,"value": "test"}

{"op": "add","path": "/fields/System.SubjectMatterExperts","from": null,"value": "test"}

{"op": "add","path": "/fields/System.SubjectMatterExpert1","from": null,"value": "test"}
它们都返回相同的错误:

{"$id":"1","innerException":null,"message":"TF51535: Cannot find field Microsoft.VSTS.Common.SubjectMatterExpert.","typeName":"Microsoft.TeamFoundation.WorkItemTracking.Server.Metadata.WorkItemTrackingFieldDefinitionNotFoundException, Microsoft.TeamFoundation.WorkItemTracking.Server","typeKey":"WorkItemTrackingFieldDefinitionNotFoundException","errorCode":0,"eventId":3200}

您应使用以下格式:

  {
    "op": "add",
    "path": "/fields/Microsoft.VSTS.CMMI.SubjectMatterExpert1",
    "from": null,
    "value": "{account here}"
  }
结果:


我可以在周末前知道这个项目的情况吗?以下要求的正文格式是否适合您?