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

Updated RPE _ RRC Navigation to Artifact to Primary Text (Module based artifact)

Hi
I'm trying to write a report in RPE to extract the primary text from an artifact which exists in a module.
I can navigate to the object and extract all the custom attributes but i can not  seem to get to the Primary text.
Ive looked at the examples but I cant work out the Query

so far I have
https://server:port/rm/publish/text?resourceURI=_jkjjkjk...

Any help would be appreciated

0 votes



One answer

Permanent link

Hello Chris,

Are you looking to get the primary text of the artifact is so then you can try the following URL in your document specification:

Example URL for Document Specification:
https://<servername>:<port>/rm/publish/resources?projectURI=_wwFh4AtKEeOB3LvhGxKdxQ

(Note: The query above will provide you the resources from across the entire project specific to what you have outlined in your template.)

I'm assuming that you are using a similar query in your template: datasource/artifact/description

Also, there are some great examples on our developer works site below for RPE and RRC reporting:

https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Rational%20Publishing%20Engine/page/Scenario%20-%20RPE%20-%20RRC%203.0.1%20v3

https://jazz.net/wiki/bin/view/Main/RRCReportableRestAPI#Supported_Artifact_Formats

(Note: The examples in the link above are for RRC 3.0.1.x but are applicable to RRC 4.0.x)

Hope this helps.

0 votes

Comments

Hi Thomas,
Thanks for the info. I understand your answers and it does work generally for artifacts.
However in my haste I forgot to include a vital piece of additional info.

The artifact I am querying is in a module.
In this case you can not apparently get to the primary text as its not provided by the REST API.
See the following for more details:
Enhancement 69459

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,019
× 332
× 46

Question asked: Sep 04 '13, 5:24 a.m.

Question was seen: 8,091 times

Last updated: Sep 04 '13, 9:58 p.m.

Confirmation Cancel Confirm