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

As a Jira user I'd like to have the Jira Data Center for Slack plugin sending messages with the Markdown format

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Issue Summary

      Notifications in Slack are not rendered as per Jira's text formatting, and as a Jira user, I'd like to see the messages in Slack without the unsupported and non-parsed characters, This may be done by parsing the Jira Text Formatting Notation to Markdown, compatible with Slack.

      Environment

      Steps to Reproduce

      1. Configure Jira to Slack as per this guide
      2. Check the option to send a message to the channel when 'Someone leaves a comment'
      3. Add a new comment and observe the message in Slack
      4. Add another comment that uses multiple text formatting in Jira. i.e.:
        h1.  +Formmated+ _comment_
        * *_item_*
        *  +item2+
        * {color:red}item3{color}
        
      5. Observe the message in Slack

      Expected Results

      Text formatting is preserved in the Slack message

      Actual Results

      Not all text formatting is preserved in the Slack message. As a result, messages may be difficult to read in Slack.

      Notes

      Text formatting for Slack can be found in this link

      Since underlining and colors is not supported in Slack's Markdown format, the messages may be difficult to read having additional characters.

      Workaround

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

        1. jira-format-example.png
          19 kB
          Jose Antonio Uribe
        2. jira-slack.png
          177 kB
          Jose Antonio Uribe
        3. slack-fromat-example.png
          116 kB
          Jose Antonio Uribe

            [API-688] As a Jira user I'd like to have the Jira Data Center for Slack plugin sending messages with the Markdown format

            PaulM added a comment -

            Instead of blindly stripping all "unsupported" formatting, the Jira integration for Slack should convert supportable formatting to Markdown, which Slack does support.  https://api.slack.com/reference/surfaces/formatting#linking-urls 

            The common ones like bold, italic, strikethrough, and URL's with display text instead of the full link are very supportable, but Jira doesn't natively use Markdown so it'll require Jira to have a conversion mechanism to fully support it.

            PaulM added a comment - Instead of blindly stripping all "unsupported" formatting, the Jira integration for Slack should convert supportable formatting to Markdown, which Slack does support.   https://api.slack.com/reference/surfaces/formatting#linking-urls   The common ones like bold, italic, strikethrough, and URL's with display text instead of the full link are very supportable, but Jira doesn't natively use Markdown so it'll require Jira to have a conversion mechanism to fully support it.

              Unassigned Unassigned
              458e633c07a6 Jose Antonio Uribe
              Votes:
              7 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: