1. Sebastian Sdorra
  2. scm-manager
Issue #514 resolved

scm-jira-plugin v.1.11 formatting makes it hard to read

Ronak Rahman
created an issue

Hi,

We have just started using the scm-manager jira plugin, and it is great. The feedback has been positive but there is one issue that keeps coming up: Formatting.

Here is an example of an issue just logged (redacted proprietary info):

JIRA shows SCM commits which are related to a specific JIRA ticket (great!), the problem is that commit messages are not formatted correctly and are hard to read.

Example: http://jira.apptio.lan/browse/JIRA-xxx

{code} [SCM] This is a step towards blah blah (as described in <a target="_blank" href="http://jira.apptio.lan/browse/JIRA-xxx&quot;&gt;JIRA-xxx&lt;/a&gt;).&#10;&#10;Major changes are: - blah blah. - Cleaned up blah blah. - Introduced blah blah. Story: <a target="_blank" href="http://jira.apptio.lan/browse/JIRA-xxx&quot;&gt;JIRA-xxx&lt;/a&gt; - Story: JIRA-xxx - Consolidate server-side and client-side formatting code (the story is not done, this patch is some preparation and clean-up - just enough to use from client side code) Reviewed by: userx, usery, userz {code}

the original message was {code} This is a step towards blah blah in JIRA-xxx).

Major changes are: - blah blah. - Cleaned up blah blah. - Introduced blah blah.

Story: JIRA-xxx - Consolidate server-side and client-side formatting code (the story is not done, this patch is some preparation and clean-up - just enough to use from client side code)

Reviewed by: userx, usery, userz {code}

Comments (7)

  1. Ronak Rahman reporter

    Hmm, sorry formatting did not come through in description. I can provide formatting screenshot if it is not clear what I mean about formatting only coming through in plain text without newlines.

  2. Tavis Elliott

    Here's how it looks in the commit:

    This is blah blah  (as described in JIRA-XXX).
    
    Major changes are:
     - Blah blah words here, blah blah.
     - Cleaned up blah blah
     - Introduced blah blah
    
    Story: JIRA-xxx - Consolidate blah blah
    Reviewed by: some people
    

    Here's how it looks in JIRA:

    [SCM] This is a step towards blah blah (as described in <a target="_blank" href="http://jira.apptio.lan/browse/JIRA-xxx&amp;quot;&amp;gt;JIRA-xxx&amp;lt;/a&amp;gt;).&#10;&#10;Major changes are: - blah blah. - Cleaned up blah blah. - Introduced blah blah. Story: <a target="_blank" href="http://jira.apptio.lan/browse/JIRA-xxx&amp;quot;&amp;gt;JIRA-xxx&amp;lt;/a&amp;gt; - Story: JIRA-xxx - Consolidate server-side and client-side formatting code (the story is not done, this patch is some preparation and clean-up - just enough to use from client side code) Reviewed by: userx, usery, userz 
    
  3. Log in to comment