Skip to content

Merged bitbucket cloud pull requests imported as open merge requests in GitLab

Summary

When importing projects from BitBucket Cloud, pull request with state MERGED are imported as open merge requests in GitLab.

Steps to reproduce

Import BitBucket cloud project that has merged pull requests.

Example Project

https://gitlab.com/pawel.tatarczuk1/sample-bitbucket-project

imported from

https://bitbucket.org/paweltatarczuk/sample-bitbucket-project

What is the current bug behavior?

BitBucket cloud project is being imported to GitLab with all merge requests opened.

What is the expected correct behavior?

BitBucket cloud project is being imported to GitLab with merge requests in appropriate state.

Relevant logs and/or screenshots

Screenshot_from_2019-11-06_16-03-07

Screenshot_from_2019-11-06_16-02-29

Results of BitBucket pull request API call: pull-request.json

Output of checks

This bug happens on:

  • GitLab Cloud
  • GitLab CE 12.4.2 (Ubuntu Bionic)

This bug does not happen on:

  • GitLab CE 12.1.9 (Ubuntu Bionic)
Edited by 🤖 GitLab Bot 🤖