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

[closed] Using the IBM-ELM-Python-Client, how do we access the properties of an XML file that appear in the shape XML, but not in the artifact XML.

Problem Summary:

 

We are developing a tracing tool that needs full access to property data from artifacts in IBM DOORS NG. Using the IBM ELM-Python-Client, we aim to extract comprehensive artifact information to generate XML files. However, the XML files do not display all necessary properties like the requirement type, while identifiers and descriptions are visible.

 

Issues:

 

Requirement Type Visibility: Requirement types are visible in the CSV files generated by the queries but not in the XML files of the requirements. Only the "derived" requirement type appears.
Shape vs. Requirement XML: The shape XML shows all potential artifact properties, but they aren't fully represented in the artifact XML file.
Access Limitations: We still cannot retrieve all properties using existing OSLC calls, affecting the tool's functionality.

 

Objective:

 

Ensure all properties from the shape XML, including requirement types visible in CSV files, are also visible in the artifact XML output to support full traceability of requirements.

 

Approach:

 

Using OSLC calls via IBM ELM-Python-Client to extract artifact XML.
Example command: Run OSLC query targeting software requirements.

 

Example command being used:

 

oslcquery -A rm,gc -p "PROJECT NAME" -C "COMPONENT" -q "oslc:instanceShape='Software Requirement'" -O querytestsChildOf.csv -1 .mycreds -E "GLOBALPROJECT" -G "GLOBALCONFIG" -s dcterms:identifier,"'Child of'"

 

Error encountered:

 

Traceback (most recent call last):
  File "c:\Users\*\Desktop\pyProjects\.venv\Lib\site-packages\lark\visitors.py", line 93, in _call_userfunc
    return f(children)
  File "c:\Users\*\Desktop\pyProjects\.venv\Lib\site-packages\elmclient\_queryparser.py", line 646, in identifier
    raise Exception("Name resolution for %s failed!" % (resultname))
Exception: Name resolution for Child of failed!

 

Assistance Needed:

 

How can we include missing properties from the shape XML in the artifact XML?
Is there an additional configuration, query parameter, or method for retrieving these properties?

 

Environment:

 

Using IBM ELM-Python-Client with a DOORS NG server.

1

0 votes

Comments

The ELM-Python client is an open source tool. I would suggest you ask this question in the GIT project that hosts its development.


The question has been closed for the following reason: "Other" by rschoon Jul 15 '25, 7:14 a.m.

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

Question asked: Jul 14 '25, 8:23 a.m.

Question was seen: 1,128 times

Last updated: Jul 15 '25, 7:14 a.m.

Confirmation Cancel Confirm