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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.