Share via

Azure DevOps Api - CreateQueryAsync method

Olin Pridal 1 Reputation point
2021-06-22T07:00:37.583+00:00

Hello,

I would like to create folder or query in Azure DevOps using Azure DevOps API. I'm trying to call client WorkItemTracking method CreateQueryAsync, but it returns me Microsoft.VisualStudio.Services.Common.VssServiceException : TF401243: The query Dashboard-XY does not exist, or you do not have permission to read it.
I don't see parameter "organization" in this method, but this parameter is described in documentation as required (https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/queries/create?view=azure-devops-rest-6.1). I'm using sthis Microsoft.TeamFoundationServer.Client nuget package. Is there any inconsistency or am I using wrong nuget or what am I doing wrong?

Thanks

Community Center | Not monitored
0 comments No comments

1 answer

Sort by: Most helpful
  1. Leon Laude 86,201 Reputation points
    2021-06-22T07:13:59.393+00:00

    Hi @Olin Pridal ,

    Please note that Azure DevOps is currently not supported in the Q&A forums, the supported products are listed over here https://learn.microsoft.com/en-us/answers/products.

    You may ask the experts in the dedicated Azure DevOps forum over here:
    https://developercommunity.visualstudio.com/report?space=21&entry=problem

    ----------

    If the reply was helpful please don't forget to upvote and/or accept as answer, thank you!

    Best regards,
    Leon

    Was this answer helpful?

    0 comments No comments

Your answer

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