locked
WIQL response object RRS feed

  • Question

  • Hello,

    I am trying to read response of WIQL in C# but I don't know which object type I should use to fetch the result of WIQL query I fired on Azure DevOps server.

    Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemQueryResult

    WorkItemTrackingHttpClient witClient = connection.GetClient<WorkItemTrackingHttpClient>(); 
                

    Wiql wiql = newWiql();  

     wiql.Query = "SELECT * "  

                + " FROM workitemLinks WHERE [System.Links.LinkType] = 'Parent' ";

    WorkItemQueryResult tasks = await witClient.QueryByWiqlAsync(wiql); 

    Console.WriteLine(tasks);

    Response: Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemQueryResult

    which obj i should use?

    Tuesday, July 14, 2020 9:11 AM

Answers

All replies

  • Hi yashhasazure,

    Thank you for posting here.

    Since your question is related to Azure DevOps, I have moved the thread to 'Where is the forum for...?' forum to help you find the correct forum to go ask questions.

    Best Regards,

    Xingyu Zhao

     

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, July 15, 2020 2:40 AM
  • I'd try asking for help over here.

    https://developercommunity.visualstudio.com/spaces/21/index.html

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    • Proposed as answer by Guido Franzke Wednesday, July 15, 2020 5:47 AM
    • Marked as answer by Guido Franzke Wednesday, July 22, 2020 5:51 AM
    Wednesday, July 15, 2020 2:57 AM