Duplicate stream via Plain Java API
Hello everyone,
Is it possible to duplicate a stream using Plain Java API?
I need to create a new stream with the same folder structure as another one.
I first tried to take the changesets from the source stream and somehow deliver them to the target stream but I could not make it work.
Then, I saw that you can duplicate one stream in the Jazz web interface, but could not find how to do it via Plain API. I only found a question from 3 years ago about this which has no answer:
I was wondering maybe someone has an update about this.
Thank you,
Ana
|
2 answers
Ana-Maria Rosu,
Is this feasible for you to wait a little bit or do you need a "fast solution"?
Comments 1
Alexander Pawlik
commented Sep 28 '21, 6:27 p.m.
Ana-Maria,
If you need a fast solution:
Create a new stream via API
Get the old stream - iterate through all components in the stream - add these components to the newly created stream.
That´s a very simple solution
|
Hello Alexander,
Thank you for your response!
At first, I will try adding the components one by one as you suggested.
When your solution is available, please let me know; I would like to check it out as well.
Regards,
Ana
|
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.