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

Automatically compare new baselines with the previous one

Hi All,
                    To automatically compare the baseline against the previous one, which operation should the plugin be based on? I mean is it an Operation participant and if yes, where should we configure it in the operation behaviour?

Thanks.

-2 votes

Comments

When do you want this comparison to happen? What should be done with the results of the comparison?

Hi David,
                  Can this happen during the creation of a baseline in a stream (or) any other relevant activity? The results of the comparison will provide the required data - that is being done manually by the users for a report

And similarly, also need a report on the list of baselines at stream level - and the corresponding details like creation (or) promotion date, owner name, project name etc...I think currently, this is not possible using insight (or) Birt reporting. So, i am looking at using the Java API for this. Is this possible using the API? 

Thanks.

 I don't know exactly what your usecase is.  The data is there, and there are ways of making a summary like this work, but I don't know where the comparison would be stored?  Why can't it be a live report using REST API based upon a selected baseline?

Downgraded question.  It is ambiguous and has been open for weeks.   The user is not responding to questions.  

Hi John,
               Create basline is process enabled - Is there a way we can create an external functionality so that any 2 baselines can be compared - either using the REST API (or) Java API - it would be more useful if any 2 baselines can be compared.

It can be invoked by the user - passing the baseline info - to be used on adhoc basis.

Thanks.  

showing 5 of 6 show 1 more comments


2 answers

Permanent link
The client API to call is com.ibm.team.scm.client.IBaselineConnection#compareTo() if you are doing this as part of a delivery operation.  The create baseline operation is not in itself, process enabled.  

0 votes

Comments

Hi John,
                Have been unable to look into this lately.

Is there a way to achieve the baseline compare using Rest API? The Requirement is to have a functionality to auto-generate the comparison results between 2 baselines (readable format). Currently, the users are manually editing the comparison results and creating the deliverable docs.

We have to eb able to download/save the generated results in the local machine.


Thanks.


Permanent link
An alternative if you are looking for some automation you can see if the CLI "scm compare baseline <uuid1> baseline <uuid2>" works for you.

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
× 1,203

Question asked: Aug 15 '12, 11:45 p.m.

Question was seen: 4,329 times

Last updated: Dec 29 '12, 1:56 a.m.

Confirmation Cancel Confirm