I'm struggling with moving WorkItems using Java API issues.
I'm creating copy of WorkItems in document recycle bin and I would like them to move to heading section.
My best result is still:
Code: Select all
But work items are moved to the end of a document, they are becoming children of last heading. I would like them moved just after "headingTarget", even before this heading original children.
I've tested a little bit things like addLinkedItem, ExternalWorkItems, wi.copyTo or traverseLinkedWorkitems, but still to no effect.
Of coure moving WI to proper heading from Polarion UI works like it should. How to do the same from Java?
Any help is highly appreciated.