Troubleshoot RTC 5.0.2 GIT Integration
I have configured the GIT integration with RTC. I have also configured a pre-condition to not allow commits without workitem number.
I have provided the following command on my commit:
git commit -am 'Fix other issues workitem 7'
git commit -am 'Fix other issues defect 7'
If I do a 'git log' I see the commit comments.
However, in the ccm.log I see errors:
GitWorkItemLinkRestService.invokeGitWorkItemLinkService(): No work item specified, ignoring the call to associate work item with git commit
RequireWorkItemHintInCommentValidator.run(): No WI hint mentioned in commit comment %B
Any ideas where to look for this?
I have provided the following command on my commit:
git commit -am 'Fix other issues workitem 7'
git commit -am 'Fix other issues defect 7'
If I do a 'git log' I see the commit comments.
However, in the ccm.log I see errors:
GitWorkItemLinkRestService.invokeGitWorkItemLinkService(): No work item specified, ignoring the call to associate work item with git commit
RequireWorkItemHintInCommentValidator.run(): No WI hint mentioned in commit comment %B
Any ideas where to look for this?
Accepted answer
The HTTP interceptor as well as pre-receive hook is trying to invoke services running on RTC server. To invoke these, you must authorize in RTC Web UI, to honour these incoming requests from Git. (See more details in this article: https://jazz.net/library/article/1423).
So, by commenting out the HTTP interceptor, and using the git-http-backend, you are only removing one invocation (in the http interceptor), and hence it goes through, but fails at next step (in pre-receive).
Comments
Benjill Cubas
Feb 12 '15, 7:07 a.m.Kiran M N
JAZZ DEVELOPER Feb 12 '15, 7:08 a.m.Robert Carter
Feb 11 '15, 11:14 a.m.Robert Carter
Feb 13 '15, 11:04 a.m.