upload attachment to a work item using logic app

Akshay Hosur 1 Reputation point
2021-06-16T04:33:54.65+00:00

I have a requirement, where I need to upload the attachment that is coming in an email to an Azure DevOps work item.
I followed the steps provided in the below link to upload attachments to blob storage, but not sure how to link that attachment to the work item. https://learn.microsoft.com/en-us/azure/logic-apps/tutorial-process-email-attachments-workflow

I can use Azure DevOps rest API to upload an attachment, but not sure how can we perform this using logic app.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,449 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,891 Reputation points
    2021-06-16T04:43:38.987+00:00

    Hi @Akshay Hosur

    Currently the available action and triggers for devops are listed here.
    For sending the attachment you can refer to Sending attachment section and if you are using Devops connectore then you need to use the action "Send an HTTP request to Azure Devops" where you need to pass the parameters as per the Azure DevOps REST API.

    Alternatively you can also use Request/Response connector or Native HTTP connector for any HTTPS request.

    Hope the above helps. Feel free to get back to me if you have any queries or concerns.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.