How to tag Bug Owner on ADO Bugs using azure logic app

Dhanlaxmi Jayapal (Tata Consultancy Services Limi) 20 Reputation points Microsoft Vendor
2024-04-25T11:42:39.9+00:00

How can we tag the Bug Owner on ADO Bugs using Azure Logic App? We aim to tag the bug owner in the Discussion area of the bug using Azure Logic App.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,902 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SwathiDhanwada-MSFT 18,031 Reputation points
    2024-04-29T05:37:02.5133333+00:00

    @Dhanlaxmi Jayapal (Tata Consultancy Services Limi) For your requirement, you can use "Send an HTTP request to Azure DevOps" action and use Comment Method Azure DevOps API.

    You can use a html in the text of comment to refer to mention the user. Use a hyperlink and the data-vss-mention with the specific userid of the devops user you want to mention. To get userId, you can use "Get User" Action of Microsoft Entra Connector.

     Below is an example of that. Replace ad96260c-ea80-6eeb-93b0-c942399631d0 by the correct userid. 

    
    {"text": "<div><a href=\"#\" data-vss-mention=\"version:2.0,ad96260c-ea80-6eeb-93b0-c942399631d0\">@John Doe</a>&nbsp; Test mentioning</div>"}
    

     

    User's image

    References documents :