The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • I have spring boot application which is making a call to Jira server using Restemplate(Post request)

I have spring boot application which is making a call to Jira server using Restemplate(Post request)

Abc
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 27, 2021
  • I am trying to make a call to Jira server using spring restTmplate to search all issues. 
    I am performing a post request with passing in the jql query in the body.
  •  I am getting 400 error response with error message can not deserialize instance of Java.string out of START-ARRAY token through reference chain com.atlassian.Jira.rest.v2. Search.searchRequestBean[\”jql”]\}

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Martin Bayer _MoroSystems_ s_r_o__
Community Champion
July 31, 2021

Hi @Abc , welcome on the community. You should provide us more information

  • what endpoint and with what parameters are you calling?
  • share your source code? You need to deserialize JSON properly

Can you provide us these information?