I have a confiforms field named Summary that saves to the Summary field in Jira.
When the content/value of that field contains a \r or \n in it, the form throws an error.
Example:
Input = Reset required for D2-XXYYY\rightnow-p3
Error = {"errorMessages":[],"errors":{"summary":"You must specify a summary of the issue."}} (Ref: e5fc8613-031a-46cb-9f40-dfb4079df07e)
However I can create an issue directly in Jira that contains \r in the summary field without an issue.
How to I prevent \r and \n in the field string value from being read as a new line chars in confiforms so that it avoids throwing an error?