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

How to extract DNG baseline information (such as baseline name, creation time and created by) for all the created baselines using RPE?

Hi Team,


I am trying to create an RPE report which prints a table containing information of all the created baselines from DNG. It is for Non-GC project area.

Attributes to extract - Baseline Name, Creation Date and Created By.

Please let us know if there is any way to extract this information directly or through any possible work around.

Thanks & Regards,
Sandhya

1

0 votes

Comments

Hi Sandhya,


Did you check this documentation about DOORS Next APIs?

The best approach would be to check with the DOORS Next team about the available APIs that can be used with Publishing.



2 answers

Permanent link

Hi Sandhya


There may be other ways but this post has an example of the RM discovery sequence which includes finding the configurations in a component - https://jazz.net/forum/questions/266334/dng-oslcfetch-components-from-project-area/266667 which I guess you could do from RPE javascript.

If you already have a configuration url, GET it (with headers OSLC-Core-Version: 2.0 and Accept: application/rdf+xml) is a quick way to find the component url in a tag like
this is shown in the answer I linked to.

As per that answer, GET the component url (same headers) and the configurations URL is in a tag like:

That gives you the url of all configs in the component in a series of rdfs:member tags - follow those to get the config name etc.

Regards
Ian

0 votes

Comments

Hi Ian,


Are these steps suitable for an opt-out project?

Regards,
Sandhya

Yes seems to work - for 7.x under the hood for an opt-out project is a project just like any other except it can only have one stream.

Hi Ian,


When I access the below URL,  


I’m able to view only the list of opt-in project areas. However, I’m unable to see any opt-out project areas listed there.


Could you please help on how to navigate to the opt-out project areas from this endpoint, or let me know if there’s an alternative approach to access them?


Regards,
Sandhya


Permanent link

Sandhya,


There's no public supported API that I'm aware of that does this.

You can try something like:
https://<server>/rm/queryvvc/configurationsforcomponent?component=https://<server>/rm/rm-projects/<projectID>/components/<componentID>&configurationtype=snapshot

Before you say that this isn't opted in to CM, I was able to do this with a project not in CM. I got the componentID from the URL in the project area when I went to the module.

This returned JSON that gave me a list of all the baselines in the project!

Kevin Murphy
IBM Champion

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
× 7,583
× 1,413

Question asked: Aug 04, 6:18 a.m.

Question was seen: 547 times

Last updated: Aug 14, 1:21 p.m.

Related questions
Confirmation Cancel Confirm