Information from closed merge requests is not pulled after integrating the repository into the project

Hello

After importing the project from Jira into YouTrack, I connected the GitLab integration to the project, after which information about commits and merge requests was displayed in the issues.

However, for some reason, the issues do not display information about merge requests that were closed before the integration. This is very inconvenient, since the team does not see the entire development history along with all the merge requests.

Does the integration of Gitlab and YouTrack provide for pulling up information about closed merge requests?

0
5 comments

Hi! Merge requests are added whenever the issue ID is included in the title or description of the merge request. If you have old merge requests that you need to be added to YT, you can edit their title/description and add the issue ID. The update will trigger the integration, and the merge request will be added to the issue activity stream.

0

Stanislav Dubin hello! We know we can rename old closed and merged MR-s, but we dont want to. We have hundrets of MR-s and changing their title will bump them up in list and change update date. Are there any other ways available?

0

Dzmitry Dranitski, there is no way to import old MRs without making any updates to them, I'm afraid.

0

Okey, can you at least tell me how YouTrack get informed about changes in MRs? Does YouTrack periodically polls GitLab API for changes or GitLab triggers some webhook in YouTrack to inform it about changes in MRs?

0

Apologies for not being sufficiently clear before. It's GitLab that makes requests to YouTrack when there is a merge request. There is an action to Import commits and open pull requests that could help to import the old MRs; however, it only imports open MRs. So there is no way to have them appear in YT without any updates whatsoever. I've created a feature request to import closed MRs, based on your use case: JT-76374. But it will not be implemented soon because the development roadmap for the foreseeable future has already been set.

0

Please sign in to leave a comment.