It's all about the answers!

Ask a question

Is there any API available to check whether a locked artifact present in a module?


Arjuna Pandu (11) | asked May 26 '21, 8:26 a.m.
Good day,

Is there any API available to check that a locked artifact is present inside a module without updating that artifact?

or any API that gives information that this artifact is locked?

thanks
Sanjay



Comments
David Honey commented May 27 '21, 5:04 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

Which product and release are you asking about?


Arjuna Pandu commented May 27 '21, 5:15 a.m.
Doors Next Generation
Version 6.0.6.1
IFix016

Ian Wark commented Jun 02 '21, 12:57 a.m.

In this question there is an answer that you cannot use APIs to lock artifacts, but I thought there would be a way to check the lock status.

https://jazz.net/forum/questions/180075/is-it-possible-to-lockunlock-requirements-via-the-rest-api-in-dng

I tried the DNG Reportable REST API. 

There is no specific mention of locks. I locked an artifact in a module and then tried to show the artifacts in the module using a URL like this https://jazz.ibm.com:9443/rm/publish/resources?moduleURI=_u-za99ZuEeqdop9lJtj6Ag, but I couldn't see any sign of locking in the xml displayed.

Perhaps this isn't possible yet?

Be the first one to answer this question!


Register or to post your answer.