How to get Iteration id out of it's UUID ?
Accepted answer
Please see the article https://jazz.net/library/article/807
It has the ID of a build result creates a handle from the UUIDand fetches the information. The code for an iteration should be similar. This should work on client and on the server (using a service and not the itemmanager)
It has the ID of a build result creates a handle from the UUIDand fetches the information. The code for an iteration should be similar. This should work on client and on the server (using a service and not the itemmanager)
IBuildResultHandle resultHandle = (IBuildResultHandle) IBuildResult.ITEM_TYPE.createItemHandle(UUID.valueOf(buildResultID), null);
ArrayList handleList = new ArrayList();
handleList.add(resultHandle);
IFetchResult fetchResult = aTeamRepository.itemManager().fetchCompleteItemsPermissionAware(handleList, IItemManager.REFRESH, null);
Comments
One other answer
Hi Yehiel,
There are a few jazz.net questions similar to this. Not sure if they are helpful here:
https://jazz.net/forum/questions/65253/create-or-delete-iteration-and-timelines-programatically
https://jazz.net/forum/questions/90099/how-to-get-and-set-the-iteration-targetid-using-java-api