It's all about the answers!

Ask a question

Programmatically query for a work item, permission unaware


Marko Tomljenovic (3164197) | asked Jun 14 '16, 7:03 a.m.
Hi,
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 (62.0k33643) | answered Jun 14 '16, 7:57 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You could use the permission ware API that allows you to at least know how many items you don't have access to. See: https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/ "Permissions and Read Access". You will not be able to get any more information out than that, as far as I know.

Comments
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.