Open Apollo-Roboto opened 2 years ago
Seconded, this is blocking me from checking if an ACR Task credentials exists as I can't query the result object.
Try: 'fields."System.Title"'
Escaping the quotes as suggested in here works for me
--query 'fields.\"System.Title\"'
This is autogenerated. Please review and update as needed.
Describe the bug
Trying to query specific values from a work-item using the az boards cli with the
--query
parameter fails as some of the keys in the JSON payload contains a dot in them. The following parameter is expected to return the title of a work item:--query "fields.`"System.Title`""
Sample payload without the
--query
Command Name
az boards work-item show Extension Name: azure-devops. Version: 0.21.0.
To Reproduce:
Command used (id and organization has been removed)
Expected Behavior
The title of the task returned in the terminal output.
Environment Summary
Additional Context