Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

I am trying update summary...but it showing error

 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="";


def result12 = put("/rest/api/2/issue/TEDP-"+keyValue2)
.header('Content-Type', 'application/json')
fields: [
"summary": newSummary2

1 answer

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.

I am assigning some values to empID and empName like 

String empID='1234' and String empName='Mallika'

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,528 views 22 32
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you