Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to detect locked artifacts in RRC?

Hi

How to detect locked artifacts in RRC?
In order to resolve unintended lock, I want to know the way to search and  to detect locked artifacts in RRC.

My customer uses RRC 4.0.6.

Thank you in advance.

Natsumi

0 votes


Accepted answer

Permanent link
Can you please suggest what you mean by "detect locked artifacts"?
By default, if there is any locked artifact, the artifact view will show the locked icon next to the artifacts.
If you want to know who locked on when, you can add display settings to the view with locked by and locked on columns:


If the list is too long for you because it contains unlocked items, you can filter the locked artifacts only for all users or specific users:










Natsumi Yokoyama selected this answer as the correct answer

1 vote


2 other answers

Permanent link
Great tip for RRC 4.0.6.
My customer is using RRC 4.0.2 and I could not find this attribute on this version. Maybe it was removed/deleted accidentally or it does not exist in this version. How could I find the LOCKED ON artifacts so I can unlock all of them at the end of the day or before a go on vacations? Is there any way to create something to find this information like your screenshots above?
Regards, Marcelo Jucá.





0 votes

Comments

Hi Marcelo,

It was added in version 4.0.3.  Here is a link to the 4.0.3 new and noteworthy page. 

Thank you Erica. Any suggestion to work in 4.0.2? 

Since the "Locked On/Locked By" functionality isn't available in version 4.0.2, you could use this non-standard approach to detect any locked artifacts:

- With an Admin user account, navigate to the following URL: https://[host]/rm/rmadmin#action=com.ibm.rdm.fronting.server.web.debugQuery
- In the "Custom SPARQL Query Scope" dropdown box at the top of the page, select the project which you would like to query against, or else select "Repository" to search for all locks across all projects.
- Enter the following SPARQL query in the input box, and click the "Run Query" button:

PREFIX rm: <http://www.ibm.com/xmlns/rdm/rdf/>
SELECT ?resource
WHERE {
    ?resource rm:lock ?lock .
}

- Any results reported indicate artifacts which are locked. You should be able to copy/paste the URLs into your browser window and unlock the artifacts from the editor.

Hi Mike,

Whether below link still available for CLM 5.0.2?
I couldn't open the page with below URL when using Admin user.

URL: https://[host]:[Port]/rm/rmadmin#action=com.ibm.rdm.fronting.server.web.debugQuery

Any suggestions? Or specific license is required?

Thanks and Regards

 Hi,


The URL is similar in CLM 5.0.2 - you should just need to change "rmadmin" to simply "admin". So the full URL would look something like this:


Permanent link
 I'm going by memory here, but I think prior to 4.0.3, the best you can do is filter by artifacts that were last modified by you, and then manually look for which ones are locked.  

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,023

Question asked: Mar 12 '14, 2:32 a.m.

Question was seen: 4,863 times

Last updated: Oct 21 '15, 8:07 a.m.

Confirmation Cancel Confirm