It's all about the answers!

Ask a question

Programmatically query for a work item, permission unaware

Marko Tomljenovic (31648109) | asked Jun 14 '16, 7:03 a.m.
I need to find a way to detect whether a work item has a certain value for a given attribute. And I would need to know whether such a work item is existing even if I cannot access it (resolve its handle) because of permissions.
I also do not need to access it I only need to know whether it exists or not.

Is there any API available to realize this?

Thank you 

One answer

permanent link
Ralph Schoon (63.2k33646) | answered Jun 14 '16, 7:57 a.m.
You could use the permission ware API that allows you to at least know how many items you don't have access to. See: "Permissions and Read Access". You will not be able to get any more information out than that, as far as I know.

Marko Tomljenovic commented Jun 14 '16, 8:36 a.m.

The permission aware API is only available for the fetching items given a handle.

But does the RTC work item query at all return a work item handle for a work item that the current user has no access to (if using the official ui)?

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.