Is it possible to get only the artifact links, if you do not have the permission to see the linked source via RM-API?
I dry to get all satisfies-link of an ERM-artifact via
RM.Data.getLinkedArtifacts(art.artRef, [], function(linksResult){
if (linksResult.code != RM.OperationResult.OPERATION_OK){
return
}
// internal links are stored in linksResult.data.artifactLinks[0].linktype
if (linksResult.data.artifactLinks.length>0){
let linkList=[]
linksResult.data.artifactLinks.forEach(function(linkDefinition){
art["ERM link"] = getNameOfLinkType(linkDefinition.linktype.uri, linkList)
})
}
else{
art["ERM link"] ="noLinkSet"
}
}
But if the user have not the permission to see the linked resource the result is empty.
On the list of artifact links located on the requirement you can see, that there are satisfies-link with the number.
So I want to get the information, that one link with the link type satisfies exists, in my code. How can I handle this?
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Apr 17 '24, 8:11 a.m.Antje Rößle-Tuchel
Apr 19 '24, 3:07 a.m.