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

how to compare the two workspaces and get the defects checked in between two workspaces using scm command

I have two workspaces named  290416 and 040516. I want to compare the two workspaces and get the defect id's with details which got fixed in latest workspace say 040516 using scm commands.

expected output should be like
Defect no     Defect tilte


Thanks
Manobhiram

0 votes


Accepted answer

Permanent link
You can use the scm compare command:
scm compare workspace 290416 workspace 040516 -I w -f o
I believe '-f o' should work if not try '-f i'... It depends on which workspace is specified first.
If you are parsing the output use --json option to output in json format.

Take a look at the following link: https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.doc/topics/compare_ex.html&scope=null
manobhiram juvvadi selected this answer as the correct answer

0 votes

Comments

thanks for the link, this link helped me in getting the defects list
i have used the following commad
scm compare -r localwork ws 290416 ws 040516 -I w -S "" -f i

where localwork is the short name for my repository. 

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
× 1,202
× 35

Question asked: May 03 '16, 3:11 a.m.

Question was seen: 2,560 times

Last updated: Jun 21 '16, 4:34 p.m.

Confirmation Cancel Confirm