简体   繁体   English

Power Automate - Azure Devops - 创建带附件的工作项

[英]Power Automate - Azure Devops - Create Work Item With Attachments

I am currently establishing integration between Azure DevOps boards and Power automate.我目前正在 Azure DevOps 板和 Power 自动化之间建立集成。 I have created a simple flow with two features我创建了一个具有两个功能的简单流程

  • It creates a new issue-type when an email is received当收到 email 时,它会创建一个新的问题类型
  • I can establish a parent-child relationship.我可以建立亲子关系。 It means a link to a parent这意味着与父母的链接

Now I want to try another customization.现在我想尝试另一种定制。 I want to attach email attachments to my newly created work item.我想将 email 附件附加到我新创建的工作项。 I went through the documentation.我浏览了文档。 It states, currently this feature is not available.它指出,目前此功能不可用。 Is there any other alternate way to achieve this?有没有其他替代方法可以实现这一目标?

Thanks, Bee谢谢,蜜蜂

To attach attachment to work item has't been supported yet, but it has been raised as a feature request here .尚不支持将附件附加到工作项,但已在此处作为功能请求提出。

Is there any other alternate way to achieve this?有没有其他替代方法可以实现这一目标?

Here're two possible directions I found:这是我发现的两个可能的方向:

1.Save the attachment to one-drive/sharepoint and then pass the file link to Workitem's description field. 1.将附件保存到one-drive/sharepoint,然后将文件链接传递到Workitem的描述字段。 (Create/update the work item) (创建/更新工作项)

在此处输入图像描述

Hint from paddlesnap's reply in this post .来自paddlesnap 在这篇文章中的回复的提示。

Ps: They aren't true attachments in the work item, but they are at least accessible. Ps:它们不是工作项中的真正附件,但它们至少是可访问的。

2.Implement an Azure Function that using the DevOps API will upload the attachment and then attach them to the specified DevOps Work Item. 2.实现一个Azure Function,使用DevOps API将上传附件,然后附加到指定的DevOps Work Item。

Hint from hammer's replies in this similar ticket .来自hammer 在此类似票证中的回复的提示。

Actually I think we can also use HTTP action twice to call azure devops rest api for Upload attachment and Link the attachment , similar to this one . Actually I think we can also use HTTP action twice to call azure devops rest api for Upload attachment and Link the attachment , similar to this one . However I'm stuck at how to convert the http request in PostMan into Http action in Power Automate...(I'm familiar with Azure Devops and PostMan, however I'm not familiar with Power Automate) However I'm stuck at how to convert the http request in PostMan into Http action in Power Automate...(I'm familiar with Azure Devops and PostMan, however I'm not familiar with Power Automate)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Power Automate - Azure DevOps 集成 - 在项目待办事项和区域路径待办事项中创建工作项 - Power Automate - Azure DevOps Integration - Work Item Getting Created In Project Backlog and Area Path Backlog Power Automate - 更新工作项错误 - JSON 格式的响应 -Azure Devops - Power Automate - Update Work Item Error - Response in JSON Format -Azure Devops Power Automate 无法在 Azure DevOps(共享收件箱)中创建工作项 - Power Automate Can't Create Work Items in Azure DevOps(Shared Inbox) 有没有办法保存所有 Azure DevOps 工作项,链接,附件在 excel? - Is there a way to save all the Azure DevOps work item with links, attachments in excel? Power Automate 和 Azure DevOps On Prem 2020 - 创建工作项 - TF400813 无权访问此资源 - Power Automate and Azure DevOps On Prem 2020 - Create a Workitem - TF400813 Not authorized to access this resource Power Automate 与 Azure DevOps 板集成 - 使用父链接创建新问题 - Power Automate Integration with Azure DevOps Boards - Create a new Issue with Parent link 在 Azure DevOps REST Create 中查找附件 - Find Attachments in Azure DevOps REST Create 如何使用 c# 将附件添加到 Azure DevOps 中的现有工作项 - How to Add attachments to an existing work item in Azure DevOps using c# Azure DevOps - 从传入的电子邮件创建工作项 - Azure DevOps - Create a work item from incoming email Azure DevOps 2020 OnPrem - 创建工作项时触发操作 - Azure DevOps 2020 OnPrem - Trigger Action On Work Item create
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM