[英]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
我创建了一个具有两个功能的简单流程
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.