Uploaded image for project: 'Atlassian Product Integrations'
  1. Atlassian Product Integrations
  2. API-569

Code block from Slack message to Jira using Add to Issue breaks formatting in Jira Issue

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 1.0
    • Jira Cloud for Slack
    • None
    • Severity 3 - Minor

      Issue Summary

      Currently, if you have more than 2 lines in a code block in a Slack message, and utilize the Add to Issue function of Slack integration, the code block fails to render correctly in the Jira issue.

      Steps to Reproduce

      1. Send a Slack message with a block of code that is more than 2 lines.
      2. Use 'Add to Issue' function w/ Slack Integration to Jira Issue

      Expected Results

       

      Slack Message

       

      Jira Issue

      Actual Results

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            [API-569] Code block from Slack message to Jira using Add to Issue breaks formatting in Jira Issue

            James W made changes -
            Attachment Original: Original_Slack_Message_2022-10-25T20_28_33_225Z.jpg [ 429336 ]
            James W made changes -
            Description Original: h3. Issue Summary

            Currently, if you have more than 2 lines in a code block in a Slack message, and utilize the *Add to Issue* function of Slack integration, the code block fails to render correctly in the Jira issue.
            h3. Steps to Reproduce
             # Send a Slack message with a block of code that is more than 2 lines.
             # Use 'Add to Issue' function w/ Slack Integration to Jira Issue

            h3. Expected Results

             
            h4. Slack Message

            !image-2022-10-27-11-28-47-379.png|width=664,height=102!
            h4. Jira Issue

            !image-2022-10-27-11-30-24-434.png|width=587,height=158!
            h3. Actual Results

            !image-2022-10-27-11-31-29-121.png|width=565,height=244!
            h3. Workaround

            Currently there is no known workaround for this behavior. A workaround will be added here when available
            New: h3. Issue Summary

            Currently, if you have more than 2 lines in a code block in a Slack message, and utilize the *Add to Issue* function of Slack integration, the code block fails to render correctly in the Jira issue.
            h3. Steps to Reproduce
             # Send a Slack message with a block of code that is more than 2 lines.
             # Use 'Add to Issue' function w/ Slack Integration to Jira Issue

            h3. Expected Results

             
            h4. Slack Message

            !image-2022-10-27-12-09-21-716.png|width=1075,height=158!

             
            h4. Jira Issue

            !image-2022-10-27-12-09-49-183.png|width=983,height=262!

            h3. Actual Results

            !image-2022-10-27-12-10-27-518.png|width=807,height=346!

            h3. Workaround

            Currently there is no known workaround for this behavior. A workaround will be added here when available
            James W made changes -
            Attachment New: image-2022-10-27-12-10-27-518.png [ 429340 ]
            James W made changes -
            Attachment New: image-2022-10-27-12-09-49-183.png [ 429339 ]
            James W made changes -
            Attachment New: image-2022-10-27-12-09-21-716.png [ 429338 ]
            James W made changes -
            Attachment New: image-2022-10-27-12-08-52-266.png [ 429337 ]
            James W made changes -
            Attachment New: Original_Slack_Message_2022-10-25T20_28_33_225Z.jpg [ 429336 ]
            James W created issue -

              Unassigned Unassigned
              e2a618203d41 James W
              Affected customers:
              1 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated: