•  
     
    story #21335 artifact have a gitlab_mr reference when the Merge Request is created from a TULEAP-XXX branch
Summary
developer working on gitlab
artifact have a gitlab_mr reference when the Merge Request is created from a TULEAP-XXX branch

I don't have to manually re-add the Tuleap Reference

The payload sent by MR creation looks like:

"object_attributes": {
    "id": 99,
    "target_branch": "master",
    "source_branch": "ms-viewport",
    ...
}

So when source_branch contains a pattern like TULEAP-XXX (case insensitive):

  • A gitlab_mr cross reference is created on XXX artifact
  • Tuleap bot creates a backlink to tuleap artifact in MR comments

Note: those actions are the same than the one for story #17182, if the MR title/comment also contains a tuleap reference, it should be done only once

Empty
Empty
Status
Empty
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
#21335
Manuel Vacelet (vaceletm)
2021-06-23 11:37
2021-05-07 14:30
3770

References

Follow-ups

User avatar
Thomas Gerbet (tgerbet)2021-05-10 14:14
  • 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