IBM Support

Rebasing a GitLab stream results in duplicating commit links in EWM work items

Troubleshooting


Problem

Rebasing a GitLab stream results in duplicating commit links in IBM Engineering Workflow Management (EWM) work items.

Symptom

Steps to reproduce:
  1. Make sure you have two text files in the repository, called test1.txt and test2.txt
  2. Make sure you have a master and another branch created from the master branch
  3. Create two tasks in EWM with IDs XXX and YYY
  4. Run the git clone command
  5. Run the git checkout master command
  6. Run the echo "foo" > test1.txt command
  7. Run the git commit -a -m "test1, Task XXX" command
  8. Run the git push command
  9. Confirm in EWM web UI, that you have a link to the Git commit in Task XXX
  10. Run the git checkout testBranch command
  11. Run the echo "bar" > test2.txt command
  12. Run the git commit -a -m "test2, Task YYY" command
  13. Run the git push command
  14. Confirm in EWM web UI, that you have a link to the Git commit in Task YYY
  15. Run the git rebase master command
  16. Run the git push command
Result: you now have two commit links in Task YYY. The content of both linked commits is the same, but the parent is different.

Document Location

Worldwide

[{"Type":"SW","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSUC3U","label":"IBM Engineering Workflow Management"},"ARM Category":[{"code":"a8m3p000000h9hmAAA","label":"Workflow Management-\u003EIntegrations Third Party-\u003EGitLab"}],"ARM Case Number":"TS004999368","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.0;and future releases"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
17 July 2023

UID

ibm16445369