How to query on attribute from Json array object

"expand": "renderedFields,names,schema,versionedRepresentations",
"id": "93451",
"self": "",
"key": "CORE-31360",
"fixVersions": [
	"self": "",
	"id": "20213",
	"description": "3.8.6",
	"name": "3.8.6",
	"releaseDate": "2014-08-13"
	"self": "",
	"id": "19814",
	"description": "3.9.1",
	"name": "3.9.1",
	"releaseDate": "2014-08-13"

Here in this Json object I want to query on "name" attribute present under "fixVersions". How to write the curl or REST API. 

curl -D- -u username:password -X GET -H "Content-Type: application/json"

Thanks in Advance.

2 answers

1 accepted

1 vote
Accepted answer

Start look at the example at

Your cURL should looks like this to JQL fixVersion 3.8.6

curl -D- -u username:password -X GET -H "Content-Type: application/json"

Adding project ABC to the syntax


@Niclas Sandström [Riada] Thanks Man that works for me !! Really appreciate your help.

Hey no problem and happy I could help! Have a nice weekend.

Guys ...need help :/

Suppose for an issue there are n number of worklog in worklogs. By JQL, how can I just retrieve the first element (recently updated worklog) from the worklogs json object?


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Jan 15, 2019 in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

268 views 4 2
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you