Coder Social home page Coder Social logo

Comments (10)

BlueBasher avatar BlueBasher commented on July 19, 2024 1

It's the intersection of the two.
Fyi, see here

from workitemupdater.

msuarez-rmr avatar msuarez-rmr commented on July 19, 2024

I am having this same issue. A very simple use case where I've selected "Work Items linked to the Build/Release and a Query".

This is from the logs:
2023-08-14T19:52:09.1179418Z Using Build as WorkItem Source
2023-08-14T19:52:09.7160914Z Using Query as WorkItem Source
2023-08-14T19:52:09.8418652Z ##[warning]Could not find query d2ebb6e2-6b1b-4da6-8b38-fb53e8c86146

The query resides in a subfolder of Shared Queries.

What I was testing to see was whether the result of what got updated was the intersection of the two queries (which is what I was hoping) or the superset of the two queries (which would not be helpful to me).

But instead, I wasn't able to get any recognition of the query at all...

from workitemupdater.

andremusiol avatar andremusiol commented on July 19, 2024

same issue for me:
image

the id fetched is correct, but the query could not be found?
image

image

from workitemupdater.

jenishcpatel avatar jenishcpatel commented on July 19, 2024

Hello
Enable this both settings from Project Settings and try. it's work for me.

image

from workitemupdater.

andremusiol avatar andremusiol commented on July 19, 2024

Hi there, thank you for the idea! 🙂
But these two options were turned on to begin with when the error/bug was produced:
image

from workitemupdater.

BlueBasher avatar BlueBasher commented on July 19, 2024

You need to make sure that the principal that is executing the build (usually the Build Service account), has read permissions on the query.
image

from workitemupdater.

andremusiol avatar andremusiol commented on July 19, 2024

Thank you for your reply BlueBasher
I think it already has(?)
image

from workitemupdater.

msuarez-rmr avatar msuarez-rmr commented on July 19, 2024

@BlueBasher - Can you answer whether "Work Items linked to the Build/Release and a Query" behaves by taking the work items associated with the build/release combined with the work items from the query (aka the union of them), OR if it behaves by taking only those work items that are individually are linked to the build release and part of the query (aka the intersection).

For example, suppose the following:
Work Items Associated with the Build/Release: 1001, 1002, 1003, 1004, 1005
Work Items resulting from the Query: 1004, 1005, 1006, 1007, 1008

Will the work items considered by the "Work Items linked to the Build/Release and a Query" option produce:
Union: 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008
-OR-
Intersection: 1004, 1005

Thanks!

from workitemupdater.

msuarez-rmr avatar msuarez-rmr commented on July 19, 2024

It's the intersection of the two. Fyi, see here

Perfect. I can't think of a good use case for it to be the union, but I certainly have a use for the intersection, so I was hoping that would be the case.

from workitemupdater.

andremusiol avatar andremusiol commented on July 19, 2024

Thank you very much for your quick reply!
I gave the shared query permissions another look and added this entry:
image

Now the extension can access the query and works just fine.
So your first tip did the trick, thank you very much for taking the time and helping me out!

PS
and apologies for posting this as an issue; this one's on me
only a small suggestion: maybe you can include some hint in the warning text being thrown, when the query could not be found? for future users who might be as dense as me 😅

from workitemupdater.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.