Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Remove git commit links from a work item in RTC

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.

0 votes



One answer

Permanent link

 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.

0 votes

Comments

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 log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Oct 07 '21, 8:21 a.m.

Question was seen: 825 times

Last updated: Oct 12 '21, 10:40 a.m.

Confirmation Cancel Confirm