Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find shared query when Query is selected as WI source #137

Open
takis-kapas opened this issue Nov 14, 2023 · 1 comment
Open

Cannot find shared query when Query is selected as WI source #137

takis-kapas opened this issue Nov 14, 2023 · 1 comment

Comments

@takis-kapas
Copy link

When the "Query" option is selected as Work Item source, I am selecting a Shared Query for its WIs to be updated. In the Build definition, I am able to select the Shared Query, but when the Build Task executes, it always returns warning "Could not find query . As a result, that Build Task does not fail the Pipeline, but the Work Items are not getting updated. See screenshots below:

Build Pipeline Definition
image

Build Pipeline Execution Warning
image

Shared Query used in the Pipeline Task
image

Shared Query Run Results
image

Shared Query Folder Permissions for Build Service account
image

@onuromer
Copy link

  1. Open your project settings (where your CI/CD pipelines are located in)
  2. In overview tab you'll have the name of your project. Copy the name.
  3. Add that "name + Build Service" as the user to shared queries folder. "Project Collection Build Service (Organisation)" isn't enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants