The new API for issue i.e. GET /rest/api/3/search/jql
is returning the response for description field in JSON or ADF format, instead of plaintext/string.
On the below article the example response shows string value but its giving JSON format value. Why is that so?
Is there a way or query param which will help in getting the description field in string format.
The output is always in JSON format, but you can use the values, as they are text.
The old enpoint also provided outputin JSON format.
How do you want to use the output or what is your need with from the response of the API call.
I want description field for example to have a string value instead of JSON(ADF format) value.
I tried using GET /rest/api/2/search/jql which worked and gave string value for description field. But I am refraining the use because there's no documented record of v2.
GET /rest/api/3/search/jql --> This one is documented.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is not an answer on what I asked,
The output markup of an API call is always JSON and the value of the description field is always text, this is not JSON.
The old search API endpoint is deprecated and activly removed so this is not uasble anymore.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.