rtc

How to discard the change set once delivered in RTC

孤街醉人 提交于 2019-12-07 12:03:10
问题 I accidentally delivered the change set which include some additional config files having local system specific configuration in RTC. Is there any way to discard those changes once delivered? I mean the changes should not be come as incoming changes to other team members. Please provide any pointer if you have. 回答1: Is there any way to discard those changes once delivered? Not exactly: once delivered, that change set will come to the other team members as incoming. There are two solutions:

Can I send out of band data along with a commit?

自作多情 提交于 2019-12-07 05:43:41
问题 I wish to integrate a remote git repository with an RTC server, by using their RESTful interface to attach a link to gitweb for a commit associated with a particular task. Ideally this will be done with a post-receive hook on the git server, but the processing user that git runs as is not allowed a user account to authenticate to RTC. The best solution I can think of is to somehow pass an authentication token (Acquired from RTC in the form of cookies.txt) along with the git push (But not have

How to fetch complete change set linked to the work item?

馋奶兔 提交于 2019-12-06 16:53:31
I am using below code to resolve and fetch the change set data IChangeSet changeSet = null; try{ for(Object wI : links1){ ILink link = (ILink) wI; Object source = link.getTargetRef().resolve(); IItemHandle changeSetHandle = (IItemHandle) link.getTargetRef().resolve(); if (source instanceof IChangeSetHandle) { changeSet = (IChangeSet) repo.itemManager().fetchCompleteItem(changeSetHandle, IItemManager.DEFAULT, monitor); System.out.println("changeset---1"+changeSet); } } return parentWorkItemIds; }catch(Exception e){ e.printStackTrace(); } Using above code I am getting below exception : com.ibm

Consistency of snapshot code in rtc?

戏子无情 提交于 2019-12-06 16:06:16
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 ? 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 one with the same name. But if you have not deleted it, a snapshot content never change. 来源: https:/

How to hide a stream from particular users in RTC source control?

倾然丶 夕夏残阳落幕 提交于 2019-12-06 15:44:31
How can I hide particular streams from particular team members which are in same Project Area / Team ? It seems the only way to achieve this is to change the visibility on the stream to a team area. This team area contains the users that I just want to be able to view the stream. I'm using RTC version 3 Changing the owner of the Stream is usually the way I go about "hiding" a Stream. Instead of putting the project area or a team as owner of the Stream, I put myself. Putting, as you mention, a "Team Area of one" is another option. This is part of the RTC3.0.1 release, which does have "

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

故事扮演 提交于 2019-12-06 15:16:47
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)service.getWorkingCopyManager().createPrivateWorkingCopy(TA); areaWc.getTeam()

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

回眸只為那壹抹淺笑 提交于 2019-12-06 15:01:43
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? 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 surprise, when coming in the morning, to discover his/her own repo workspace with new checkins or having done new

Querying Jazz RTC Work Items via OSLC

妖精的绣舞 提交于 2019-12-06 14:02:33
问题 I am able to get workitem if I know the ticket id using following request https://example.com:8081/ccm/oslc/workitems/37702.json. I want to query RTC to get all wrorkitems owned by a gievn user or based on tags. I am using the folllowing query to get data but unable to get the details. Search based on owner of workitem https://example.com:8081/ccm/oslc?oslc_cm.query=dc:owner="abc@gmail.com" Search based on tags https://example.com:8081/ccm/oslc?oslc_cm.query=dc:subject="mc" 回答1: Another way

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

这一生的挚爱 提交于 2019-12-06 11:57:54
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.getWorkspaceManager(repoApac).versionableManager(); List changes = changeSet.changes(); List<IFileItem>

How to get the history of a jazz component using oslc

雨燕双飞 提交于 2019-12-06 08:42:57
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. Thanks in advance Firstly, URLs of that pattern are not part of Jazz's OSLC interface. The OSLC