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

chek-in&deliver accept change-set build run-test changeset discard changeset java API

I am newbie and have read re-portable API,OSLC or java API to create requirement document etc.

I want to :
  1. Check-in & deliver from  workspace A to workspace B on the stream
  2. Accept change-set in workspace B
  3. Build and run test with new changes
  4. Discard or undo change-set in workspace B to return to its original state before applying change-set
but am a bit confused with the huge Documentation, where to start or check example to achieve the goal, any tip/link/sample is appreciated.

0 votes



One answer

Permanent link

 Neither the Reportable REST API, nor the OSLC API (which is not a Java API) provide any SCM operations. The Reportable REST API for EWM only supports to read information. The OSLC API is only for work items/change management.

 
Looking at the list 1,2,3 would be best implemented as some kind of build using the build API and the SCM Command line. The step 4 does not seem to make a lot of sense. 

I would suggest to first come up with a consistent description what the business case is and what the result of the operation is. Describe the desired result and how the manual steps would be to get there. Then you can start asking for APIs, if it is impossible to do that in the tool.

0 votes

Comments

Actually the scenario for the use case is like the 4 steps. yes step 4 make no sense (as the last approved changes will be written to repository) but assume it is the case. Idea is to automate it using Rest Api, command line, plain java API etc. I guess all the steps can be done in EWM except number 3 which carry out by running testcase script in jazz App. I'll try go through Build API and scm  command as you suggested and then will be back if needed, Thank you

The scenario does not make any sense in many aspects. There is no use case or business case that explains what this is supposed to achieve. 

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,030
× 7,507
× 149
× 35
× 17

Question asked: Jun 03 '22, 2:17 p.m.

Question was seen: 1,081 times

Last updated: Jun 07 '22, 5:00 a.m.

Confirmation Cancel Confirm