It's all about the answers!

Ask a question

Remove git commit links from a work item in RTC


Namrata Bhomkar (111) | asked Oct 07, 8:21 a.m.
Hi,
 Can anyone please tell me what are the steps or how can we remove the git commit links from workitems in RTC using java APIs?
Thanks for help.

One answer



permanent link
Ralph Schoon (59.0k23642) | answered Oct 12, 4:12 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 In general https://rsjazz.wordpress.com/2012/09/19/the-rtc-workitem-link-api-linking-workitems-to-other-elements/ explains how the API works. You would have to get the reference collection, identify and remove the GIT links from the collection and then save the work item. 


I was however unable to find the GIT link type. I think it is defined in a jar file that is shipped with the RTC Eclipse client, but I do not know which. I have asked a colleague to help, if possible.


Comments
Ralph Schoon commented Oct 12, 10:40 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

The GIT link types are in  com.ibm.team.git.common.GitLinkTypes which is in the  com.ibm.team.git.common_*.jar where * represents a version number.



Your answer


Register or to post your answer.