It's all about the answers!

Ask a question

View commit details in EWM - integration with Gitlab


Nicola Quinn (162) | asked Sep 16, 5:57 p.m.
edited Sep 16, 5:59 p.m.

Recently I attended an IBM training course and the lab was configured to integrate well with Git. 

We  set up an environment with the basic configurations however we cannot find how to customize our install to match the training lab. In particular - 
How to configure how the links are opened from EWM defect.?  
IBM Lab opened in EWM, ours, by default opens Gitlab externally.

Commits are displayed successfully in a defect, links tab.  Hover over a link, a preview is displayed.
First difference -
IBM Lab - link is to an EWM resource  / 
Ours -- link is to external Gitlab
Second difference - 
IBM Lab - Link opens EWM resource with an action to display the 'commit details' and include the file diffs.
(com.ibm.team.git.web.ui.action.show_git_commit_details&repoUUID=nnn&commitId=nnn
Ours - opens external Gitlab.

Sample links from IBM lab
  1. Link in preview
    https://ibmjazz:9443/ccm/resource/virtual/com.ibm.team.git/repoUUID/_aaaaa/commitId/bbbbb
  2. Link to open commit
    https://ibmjazz:9443/ccm/web/projects/Project%20System%20Development#action=com.ibm.team.git.web.ui.action.show_git_commit_details&repoUUID=_aaaaaaaw&commitId=bbbbbbb

We would like to configure EWM to open links in EWM with the commit details and displaying file differences.  (see pics from IBM lab). Commit preview   Commit details with file difs



2 answers



permanent link
Andy Lapping (111) | answered yesterday

Comments
Nicola Quinn commented yesterday

Thanks for the response,   I should have mentioned the lab is 7.0.2.

Could you be more specific?  Yes, I read all the docs before posting the question.  I also have viewed all the configs I could find in the course lab where it works but cannot find anything that seems to configure the link or how it launches.
Viewed the Git hooks and configs in addition to the EWM project Git configs.

By the way, I enjoyed all those Rhapsody videos you did many years ago!

Regards,

Nicola


permanent link
Andy Lapping (111) | answered 20 hours ago
edited 20 hours ago

Hi Nicola. I setup that image a few years ago now but I dont recall doing anything special other than what was documented in the help - and I documented that in the labs (lab 3 set everything up i think ? ). If it isnt working for you I'd suggest opening a support case with IBM to find out why. Shame IBM took all YouTube videos down - but I've started several new series here if you're interested: https://www.youtube.com/@SodiusWillert


Cheers !
Andy

Your answer


Register or 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.