Jira comments have messed up newlines if editor does not use the systems standard line endings

Issue #1000 open
Alexander Kartzow
created an issue

I have tested SCM on a windows machine, where the LINE_SEPARATOR=System.getProperty("line.separator", "\n"); yields "\r\n" but my git client is using unix line endings \n.

Thus a git/svn commit message like "a b"

is written to JIRA comment as "a

I suggest to try to split changeset.getDescription() by the unix line ending \n if splitting by the system line ending does yield a one liner.

Comments (3)

  1. Log in to comment