Azure DevOps icon

Azure DevOps

Interact with the Azure DevOps REST API

Actions29

Query → Create

AI-generated

Summary

Create a new Work Item Query Language (WIQL) query within a specified Azure DevOps project and folder path.

Inputs

  • Project Name or ID (required) — Select the Azure DevOps project in which to create the query, either from the dropdown list or by specifying an ID via expression.
  • Query Name (required) — Set the name for the new query to be created.
  • Parent Path (required) — Specify the folder path where the query will be saved, such as "My Queries" or a subfolder like "Shared Queries/Team Folder".
  • WIQL (Work Item Query Language) (required) — Provide the WIQL statement that defines the query criteria, e.g., selecting certain work items by type or state.

Output shape

a JSON object representing the newly created query details as returned by the Azure DevOps API

Returns the Azure DevOps API response containing the created query information. Contains metadata per item matching the input items processed. Errors emit failure messages if the operation fails and 'Continue On Fail' is not enabled.

Discussion