It's all about the answers!

Ask a question

can we fetch other users information programmatically, by logging with different user Id.


Sagar Baviskar (1125) | asked Mar 30 '15, 5:05 a.m.
edited Mar 30 '15, 5:08 a.m. by Ralph Schoon (55.3k23642)
can we fetch other users information programmatically, by logging with different user Id.

also, how to get workItem list by userId

please suggest.

2 answers



permanent link
sam detweiler (12.4k6172200) | answered Mar 30 '15, 6:57 a.m.
what do you mean 'information'?

to show list of workitems by  user, create a query that shows those results. you can get both creator and owner

If you want count of workitems and not list, then you will have to write a report or some client code to execute the query.

Comments
Sagar Baviskar commented Mar 31 '15, 2:01 a.m.

Other User Information may contain WorkItem Id,WorkItem Type...and so on..

can we get this information.  please suggest


permanent link
Ralph Schoon (55.3k23642) | answered Mar 31 '15, 4:23 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Mar 31 '15, 4:30 a.m.
This (owned work items etc) is not information related to permissions required to read individual user data such as the mail address. This is governed by other permissions and access restrictions.

This information can be retrieved using the Java API for example. Start here https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/ and look for other posts e.g. on querying.

Provided the user has permission and access to get that data, you can use any user. The permission aware API also tells you if you don't have access to specific items.

Your answer


Register or to post your answer.