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?
How is your summary field mapped in the JSON mapping? Are you using escapeJSON function to ensure the value gets escaped if necessary when it contains characters that can potentially break the mapping?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.