rtc

How to fetch change set by work item link targetRef URI?

ぐ巨炮叔叔 提交于 2019-12-08 06:52:40
问题 First please let me know the difference between these two com.ibm.team.filesystem.workitems.change_set com.ibm.team.workitem.linktype.scm.tracksChanges Because I have found some change set links using trackschanges Id and after that when I try to fetchCompleteItem for the link it return null or exception like that data is not present in the database. I am using the below code to fetchCompleteItem. Really stuck here please help: for(Object wI : links){ ILink link = (ILink) wI; Object source =

Why can't all change sets be found when accepting change sets?

和自甴很熟 提交于 2019-12-08 06:02:03
问题 Occasionally when I am accepting I change set I receive the following message : To resolve this I apply the changes as a patch and then 'Merge into workspace' the changes Why cannot all of the change sets be found ? Is there a danger my code could become out of sync with the flow target ? 回答1: The danger is not so much the out of sync, but the integrity of the resulting code, once the patches are applied: You are accepting change set based on other change sets that are not delivered. There is

Consistency of snapshot code in rtc?

泪湿孤枕 提交于 2019-12-08 05:36:03
问题 A snapshot named snapshot 1 is created for a Stream on Jan 1 2017 (For example) Later I create a stream out of snapshot 1 and do some code delivery. (On Feb 2017) After a month, I create another stream out a snapshot 1 . (March 2017) Will the snapshot 1 have the same code as created on Jan 1 2017 ? 回答1: Will the snapshot 1 have the same code as created on Jan 1 2017 ? Yes, that is the idea behind a snapshot: it is immutable... unless tou delete it (which is possible since RTC4.0) and recreate

Can I associate a change set with a work item after it has been delivered?

99封情书 提交于 2019-12-08 05:14:14
问题 If I deliver a change set to a stream and not associate it with a work item can the change set be associated with a work item after it has been delivered ? 回答1: Yes. The changeset itself is closed upon delivery to the stream. But its associated work-item(s) is not: you can add or remove one or several work-items in association with the delivered changeset. That being said, I have a special hook which makes that association mandatory on deliver: ie, you cannot deliver without having first

Who can check in and deliver to the stream in a repo workspace? Only the owner?

白昼怎懂夜的黑 提交于 2019-12-08 04:20:02
问题 In the RTC only owner of the Repository work space can check in the code ? Other members can only take updates by changing the flow target. Can I provide access for more than one user in a repository work space (Multiple owners) to deliver the code. If i create a scoped work space , other members can only view the changes and take updates from it. Is it correct? 回答1: In the RTC only owner of the Repository work space can check in the code ? Yes, the idea is for an owner to not have the

How to add users and roles in child team area using plain Java RTC API?

自古美人都是妖i 提交于 2019-12-08 03:49:13
问题 Is it possible to add users and roles in child team area? My code currently can add users and roles in team areas but how can I add them in child team area. ITeamArea TA = (ITeamArea)teamRepository.itemManager().fetchCompleteItem(newTAHandle,ItemManager.DEFAULT,monitor); IContributor contributor = teamRepository.contributorManager().fetchContributorByUserId(members,monitor); ArrayList roles = getTeamRoleName(projectArea,member_roles); IProcessAreaWorkingCopy areaWc = (IProcessAreaWorkingCopy

How to change RTC stream and component ownership using plain java api?

五迷三道 提交于 2019-12-08 00:29:27
问题 I need to change the ownership of components and stream. I am trying to find out any API for this. Please help. Here I have one code snippet with me but I don't know how it will work. IScmService scmService = null; IRepositoryItemService itemService; IComponentHandle componentH; ComponentOwnerHandle componentOwnerH = scmService.getComponentOwnerRecord((ComponentHandle) componentH); ComponentOwner componentOwner = (ComponentOwner) itemService.fetchItem(componentOwnerH, IRepositoryRemoteService

How to find out if work item change set file item is newly added or modified?

╄→尐↘猪︶ㄣ 提交于 2019-12-07 20:47:03
问题 I have some change set objects and I need to find out if the file in the change set is newly added or modified. below is the code I am using to fetch the change set: IChangeSetHandle changeSets = convertToChangeSetHandles(extracted); changeSet = (IChangeSet) repoApac.itemManager().fetchCompleteItem(changeSets, IItemManager.DEFAULT, monitor); public static List<IFileItem> changeSetFileName(IChangeSet changeSet) throws TeamRepositoryException{ IVersionableManager vm = SCMPlatform

How to get the history of a jazz component using oslc

旧巷老猫 提交于 2019-12-07 19:34:11
问题 I have retrieved the component details using .com/ccm/resource/itemOid/com.ibm.team.scm.Component/_C8OiATcYEeORAOTpOLW3QQ/?_mediaType=text/xml then retrieved baseline from above output "" using .com/ccm/resource/itemOid/com.ibm.team.scm.Baseline/_C8hc_DcYEeORAOTpOLW3QQ/?_mediaType=text/xml"; Now I want to retrieve history from above output "" so that I can get the list of all changesets along with the UUIDs... Can anyone please help me out for this, Im really stuck at this since long time.

How to develop operation advisor plugins in RTC?

情到浓时终转凉″ 提交于 2019-12-07 16:00:32
] 2 I have reference of this https://jazz.net/library/article/495 link and following the steps given in this article. But when I try to add dependencies, the window appears blank with no suggestions and this com.ibm.team.process.service jar file is not there in my RTC plain java client libraries. How would I find this jar file and continue on the plugin development. Please help 来源: https://stackoverflow.com/questions/50563104/how-to-develop-operation-advisor-plugins-in-rtc