We are getting list of issues in a project using search rest api using a connector service(rest/api/2/search). We are passing value *all to fields param but we do not see status in the response. I also tried by setting fields param to just 'status' and that also did not help. Can you please let us know how do we get status of the issues using the api?
Please not I am able use search query with status for filtering but i am not able to retreieve the status
Hi Chakravarthi,
I would check a couple things and see if they work out. If they do you'll want to look at the connector.
First try it in the application itself:
http://localhost:8075/rest/api/2/issue/ISSUE-2?fields=status
or
http://cloudURL/rest/api/2/issue/ISSUE-2?fields=status
Next, I would try curl or something such as Postman to test the query. Here is an example curl statement:
curl -u UN:PW -X GET -H "Content-Type: application/json" http://localhost:8075/rest/api/2/issue/ISSUE-2?fields=status
Cheers,
Branden
Hi Branden,
Thank you for the help!! It was mistake at my end. I had created status as single value property at my end while it is not. I corrected it my end and it works perfectly for me
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chakravarthi,
I'm very happy to hear it's working for you now!
Cheers,
Branden
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.