Is it possible to get a list of Users who are accessing the Speific Work ITem t Particular Instance
One answer
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.
Comments
Donald Nong
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
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
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