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

RQMURLUtility with custom suiteelement fields

Running the RQMURLUtility.jar I am sending it the following:
That above gives me this output inside the GET.txt file:
<?xml version="1.0" encoding="UTF-8"?>
     <ns2:testsuite xmlns:ns2="http://jazz.net/xmlns/alm/qm/v0.1/"
     .... 
     xmlns:ns21="http://www.w3.org/1999/XSL/Transform">
    <ns4:title>Full Phase 1</ns4:title>
    <ns4:description>Web UI Automated Smoke Testing</ns4:description>
</ns2:testsuite>
Which is correct since i had fields title and description. However, when i change those to something different it does not seem to work for some reason?
<?xml version="1.0" encoding="UTF-8"?>
     <ns2:testsuite xmlns:ns2="http://jazz.net/xmlns/alm/qm/v0.1/"....xmlns:ns21="http://www.w3.org/1999/XSL/Transform"/>
And that is all i receive when it should have ID and Owner like it did for title and description.

This is the full XML it gives me (shortened for space sake):
java -jar RQMUrlUtility.jar -command GET -user myUSERNAME -password "myPASSWORD" -filepath _GET.txt -url "https://myAddress:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/myAlias/testsuite/urn:com.ibm.rqm:testsuite:67"
And its output:
<?xml version="1.0" encoding="UTF-8"?>
<ns2:testsuite xmlns:ns2="http://jazz.net/xmlns/alm/qm/v0.1/".... xmlns:ns20="http://jazz.net/xmlns/alm/qm/styleinfo/v0.1/" xmlns:ns21="http://www.w3.org/1999/XSL/Transform">
    <ns2:projectArea href="https://myAddress.cjis:9443/qm/resource/itemOid/com.ibm.team.process.ProjectArea/_rutRAgjwEee_eaoOInJ4Vg" alias="myAlias"/>
    <ns4:identifier>https://myAddress:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/myAlias/testsuite/urn:com.ibm.rqm:testsuite:67</ns4:identifier>
    <ns2:stylesheet href="https://myAddress:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/myAlias/testsuite/urn:com.ibm.rqm:testsuite:67?stylesheet=true"/>
    <ns2:webId>67</ns2:webId>
    <ns4:title>Full Phase 1</ns4:title>
    <ns4:description>Web UI Automated Smoke Testing</ns4:description>
    <ns2:creationDate>2019-01-07T21:02:52.749Z</ns2:creationDate>
    ...
        <ns2:suiteelements>
             <ns2:suiteelement elementindex="1">
             </ns2:suiteelement>
             <ns2:suiteelement elementindex="2">
              .....
             </ns2:suiteelement>
        </ns2:suiteelements>
</ns2:testsuite>
The suiteelement area is the area where i want to gather my needed fields (id, owner, created by, etc....).

Help would be great! Thanks.

0 votes



One answer

Permanent link

David,


Try with 'fields=feed/entry/content/testsuite/(webId|owner)' it should get you the Id you are looking for.
 Please refer supported resources and properties at RQM API wiki.

Regards,
Mehul

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
× 10,938

Question asked: Mar 04 '20, 10:12 a.m.

Question was seen: 1,066 times

Last updated: Mar 06 '20, 6:53 a.m.

Confirmation Cancel Confirm