Comments (10)
It's the intersection of the two.
Fyi, see here
from workitemupdater.
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.
the id fetched is correct, but the query could not be found?
from workitemupdater.
Hello
Enable this both settings from Project Settings and try. it's work for me.
from workitemupdater.
Hi there, thank you for the idea! 🙂
But these two options were turned on to begin with when the error/bug was produced:
from workitemupdater.
You need to make sure that the principal that is executing the build (usually the Build Service account), has read permissions on the query.
from workitemupdater.
Thank you for your reply BlueBasher
I think it already has(?)
from workitemupdater.
@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.
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.
Thank you very much for your quick reply!
I gave the shared query permissions another look and added this entry:
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)
- WorkItems linked to the Build/Release and then filter with Query HOT 13
- No dropdown values are shown in UI view HOT 2
- Work items being skipped HOT 2
- Update task linked of Workitem
- Need to 'trim' workItemCurrentState after splitting
- Intermittent Error: connect ETIMEDOUT HOT 2
- Feature Request: make query box a drop down of existing queries
- Items being updated to state of Done are not having "Closed Date" field set. HOT 1
- Append to text field HOT 1
- workitemsSource - how "And a query" must be understood HOT 1
- Update State of Work Item in Release HOT 1
- How to use query HOT 1
- workitem updater: using query throwing TypeError: Cannot read property 'forEach' of undefined HOT 2
- Need to parameterize BuildId
- Cannot find shared query when Query is selected as WI source HOT 1
- Feature Request: Update Assigned To From Other Value in Item
- ECONNRESET - Retry transient network errors
- [Query] Is it possible to add conditional state to not update work item depending on it ?
- You do not have permissions to perform this operation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from workitemupdater.