It's all about the answers!

Ask a question

Is it possible to get a list of Users who are accessing the Speific Work ITem t Particular Instance


Girish Chandra P (953246) | asked Jun 27 '17, 2:05 a.m.

I need to know the number of users accessing the Same work Item at an Specific Instance .Please let  me know how can I achieve this thru Extensions.



Comments
Donald Nong commented Jun 28 '17, 12:49 a.m.

You probably need to define what "accessing" is before coming up with any solutions. Does it mean opening the work item in the Web UI or Eclipse? What if the work item is included in a query result? What if the work item is shown in a plan?


Girish Chandra P commented Jun 29 '17, 2:51 a.m.

My requirement is Work Item Opened for Write - not for Read.
Basically I need a Lock facility on Work Item , I know currently this is not OOTB feature trying to achieve the same with an Work Around Solution.


Donald Nong commented Jun 29 '17, 4:40 a.m.

If you're looking for an audit history, the workitem/itemHistory provided by the reportable REST API can give you such information.
https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI#workItem_type_com_ibm_team_worki

If you are looking something on-the-fly, I'm not sure whether it's necessary, as RTC has built-in mechanism to deal with conflict of changes - basically the first user submitting the changes wins, and the late-comers will get a warning saying that the work item is no longer current and needs to be reloaded.

Are you looking for pessimistic locking on work items? While the source control does have this feature, I doubt that you can do the same on work items - because when a user opens a work item, there is no indication that the work item will be updated or not.
https://jazz.net/downloads/rational-team-concert/releases/5.0.2?p=news#pessimisticLocking

One answer



permanent link
Ralph Schoon (63.5k33646) | answered Jun 29 '17, 4:54 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Jun 29 '17, 5:24 a.m.
There is no lock facility and the information you provide in the questions also don't explain what the purpose of it would be, what the benefit and what the fundamental requirements/the business case/the reason for asking it are.

In addition to Dons comment:

You can use category based restricted access to limit read (and write) access: https://jazz.net/library/article/554

You can use Access groups to limit read (and write) access: https://jazz.net/library/article/837

You can use role based permissions to control work item creation and modification.



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.