•  
     
    story #26801 create a merge request from artifact
Summary
developer
create a merge request from artifact
Empty

As of today it's already possible to create a GitLab branch in a repository from a Tuleap artifact.

The goal of this user story is to be able to create the corresponding Merge Request in the same time.

In artifact "Action" menu:

  • The label "Create a new GitLab branch" is renamed "Create a new GitLab branch or MR"
  • In the popup, there is a checkbox "[X] create corresponding MR" that is ticked by default
  • When the box is ticked, the branch is created, the MR is created was well with "Draft" status.
    • Title of the MR is the title of the artifact: "TULEAP-XYZ: $TITLE"
    • There is no description

No change in permission scheme: user creating the merge request must be member of the project containing the artifact (see art #21336).

Empty
Empty
Status
SCM/GitLab
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#26801
Manuel Vacelet (vaceletm)
2022-07-26 14:30
2022-05-17 13:29
3542

References
Referencing story #26801

Git commit

tuleap/tuleap/stable

chore: Upgrade GitLab version deployed by Docker to 14.10.3-ce 1d718d3982
fix: Description in PostMergeRequest can have null value c8deff996d
feat: add REST route to create a GitLab merge request 644327733b
feat: create a GitLab merge request at branch creation dda94b4cd1
Update artifact action button label ae658fdcdd
Let the backend handle gitlab exceptions 98ffab84c5
Handle new error that can be easily thrown by gitlab server 2ba1638ae4
feat: The created GitLab merge request must be in draft 2ee7957879
Convert gitlab branch modal into composition api 3f8e04827c
chore: Upgrade GitLab version deployed by Docker to 15.0.3-ce ca5ea8cf9b
Convert gitlab modal to Vue3 2de15629bd
Click on merge request checkbox must update the submission modal button aa1b84154a
feat: Add some enhancements in GitLab merge request creation afd4ae4d4b
fix: Correct label of submission button 1201d77d51
`v-translate` string are never translated 150ac0e5d9
chore: Add missing unit tests for GitLab create branch ModalContent 22e00bb80e

Follow-ups

User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
Joris MASSON (jmasson)2022-05-30 16:08

gerrit #26010 integrated in Tuleap 13.9.99.8


  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • Status changed from Selected to On going