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

In RPE, how do I traverse a link from RTC to an artifact in a configuration aware DNG project area?

I have a follow-up question to https://jazz.net/forum/questions/123676/


The problem is that the RTC schema, as far as I can tell, only provides the base artifact URL with no configuration context for linked DNG artifacts. That is:

Provided by RTC schema: 

Needed to successfully navigate the link to a configuration-aware project area:

0 votes

Comments

 Bump

This question was posted as an "answer" to a related question.   To avoid confusion, please post related questions as separate questions, not as "answers".



One answer

Permanent link

You need to add configuration information in the document specification. See video https://www.youtube.com/watch?v=A_tnclbU564 on how to perform these action.

If the starting point is RTC or DNG or RQM and any traceability links to it will use the configuration you set at the first place as you inherit configuration in DSC element.

0 votes

Comments

Thanks for your response, Kumar!

My template only has one visible data source in its document specification: an RTC data source. The reason for this is because my template is designed to publish a single RTC work item and then explore its links. Can you explain how to define a configuration context for an RTC data source in RPE Launcher?
(When I follow the steps outlined in the YouTube video to which you linked, the process fails at the OSLC Service Discovery Selection Dialog.) I'm using RPE 6.0.5.

Hi Bob,

There are no versions for CCM work items. Only SCM has versions and snapshots. We're working on how to report on such scenarios. We'll get back asap.

In the mean time, could you try the following?

In RPE Studio, for DNG data source, set configuration required to blank so that this data source is visible in doc specification in Launcher. For DNG data source, set the Configuration-Context (C-C) as in the video I shared.
BTW, do not set C-C for RTC WI data source.

Thanks,
Kumar

The solution again is same as in the video https://www.youtube.com/watch?v=A_tnclbU564 . You need to select configuration while configuring data source for RTC. The same configuration will be used by DNG. More details below.

The GC for RTC project area is set as in the below screenshot.



Template
The template screenshot below shows how to get link from RTC Work item to DNG requirement.

This condition is added to get "implements requirement" from workitem/auditableLink/name
name == "com.ibm.team.workitem.linktype.implementsRequirement"

The below is to get REST URL from workitem/auditableLink/targetRef/uri from DSC element configuration
uri.replace("resources/", "publish/text?resourceURI=");



Document specification
In Document specification, after configuring data source to RTC work item, you should select global configuration as in the menu option below. See video for more details.



We're able to generate document as per above.

Thanks,
Kumar

Kumar, thanks for your response.

When I try to follow the steps, I encounter difficulty at the RPE Launcher step where I right click on the data source and select OSLC Configuration Selection. The wizard that follows does not allow me to proceed. What happens is it provides a default URL for root services:
And ultimately the wizard becomes caught in an infinite loop of challenging me to authenticate.
Do you have any ideas? Am I using the correct root services URL for RTC?

Bump 

Note: Kumar identified the solution in a different thread.

The solution is to use the Global Configuration root services, not RTC's:
Thanks, Kumar!

showing 5 of 6 show 1 more comments

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
× 332
× 92

Question asked: Dec 31 '17, 6:07 p.m.

Question was seen: 3,732 times

Last updated: Mar 15 '18, 1:02 p.m.

Confirmation Cancel Confirm