Reputation: 4629
I am currently establishing integration between Azure DevOps boards and Power automate. 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. I went through the documentation. It states, currently this feature is not available. Is there any other alternate way to achieve this?
Thanks, Bee
Upvotes: 0
Views: 4837
Reputation: 28086
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. (Create/update the work item)
Hint from paddlesnap's reply in this post.
Ps: They aren't true attachments in the work item, but they are at least accessible.
2.Implement an Azure Function that using the DevOps API will upload the attachment and then attach them to the specified DevOps Work Item.
Hint from hammer's replies in this similar ticket.
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)
Upvotes: 2