I am working on this task in which I am supposed to take a file from the user, upload it on Azure DevOps, create a Release pipeline, and then trigger the release with the file upload on the DevOps. I have already written an Azure Function taking files from the user and creating a release pipeline. Now, I am struggling to upload the received file to Azure DevOps. One idea is to use the Create-Attachment API of Work Item Tracking but as I am new to this field, I am unsure about how to proceed. P.S. I am using a Typescript programming language. Can anyone please help me?
Taking a file from the user and I am trying to write an Azure Function that uploads the received file using Rest API on Azure DevOps.