How-to unlock a folder under RTC source control
I have to take care for several RTC/CLM projects.
In one RTC 3.0 and one CLM 3.0.1 project users have locked a FOLDER (not a file) under RTC source control.
It's no problem to unlock a file:
a) Eclipse client
RightClick -- Team -- Unlock...
b) Web client
MousePoint -- on right site: Unlock
c) Commandline
scm login ...
scm lock list ...
scm lock release ...
scm logout ...
But how can I unlock a folder?!
Both clients didn't offer the unlock option (menu point).
And also the scm command does not work:
lock release
http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=/com.ibm.team.scm.doc/topics/r_scm_cli_lock_release.html
D:\>scm lock list --repository-uri project-a --stream "Project-A Team Stream" --component "Project-A Team Default Component" --owner abc --verbose
R (1008) "/folder_a/subfolder" >
D:\>scm lock release --repository-uri project-a --stream "Project-A Team Stream" --component "Project-A Team Default Component" --force -R folder_a/subfolder
Problem running 'lock' 'release':
Unexpected item type: Folder
BTW I tried it as JazzAdmin (and JazzProjectAdmin) so that it is not a permission related issue.
And unfortunately the users can't remember how they have locked the folder.
Did I have any chance to do it with the REST API?
Any idea is welcome. Thanks, Markus
Accepted answer
You can unlock it with the Eclipse client by going to Search > Jazz Source Control > Locks. Search for those locks and you can unlock them from the results.
See the work item on exposing unlocking folders in the web ui. https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/160971