PUT request to /rest/api/2/issue/TEDP-695 returned an error code: status: 400 - Bad Request body: {"errorMessages":[],"errors":{"summary":"The summary is invalid because it contains newline characters."}}
String newSummary2="";
newSummary2=empID+"-"+gradeLevel+"-"+empName;
def result12 = put("/rest/api/2/issue/TEDP-"+keyValue2)
.header('Content-Type', 'application/json')
.body([
fields: [
"summary": newSummary2
]
])
.asString()
Hi, @Sneha A S
Where do you get empID and empName? seems like there is a character Jira doesn't like on any of those variables.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.