Skip to content

Jira migrated issues are wrongly parsed in GitLab

Summary

As discussed in Slack with @digitalmoksha , migrated Jira issues are not parsing properly some headers (h2 visible for example) and some normal text is parsed as header.

This code should parse the header.

Customer doesn't seem to hit any known limitations and some parts of the issue migrated are parsed OK. All their issues are affected but they shared one only for privacy.

Steps to reproduce

Customer is migrating their Jira issues to their self hosted GitLab instance (15.4.0).

Ticket Id

Link to the Zendesk ticket

Configuration used

Architecture

Current behaviour

Jira issue is using V3 (customer tested the access of the V3 REST API locally with curl and the response comply with the ADF spec. See the provided JSON response below.). issue.json

Issue in Jira:

Screenshot_2022-10-04_at_13.35.38


Issue after migration in GitLab:

Screenshot_2022-10-04_at_13.35.21


Configuration:

Screenshot_2022-10-04_at_13.36.13

Expected behaviour

The headers should be parsed.

Versions

15.4.0 (Omnibus)

Platforms

Azure, GCP, AWS etc

Relevant logs

Customer Impact

Customer specific information such as deal pending, escalated, show stopper etc.


cc @donaldcook

Edited by Segolene Bouly