Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sample JIRA rest json response
{
"expand": "schema,names",
"issues": [
{
"changelog": {
"histories": [
{
"author": {
"active": true,
"displayName": "Some Consultant",
"emailAddress": "consultant@somecompany.com",
"key": "consultant@somecompany.com",
"name": "consultant@somecompany.com",
"self": "https://...",
"timeZone": "Etc/GMT-1"
},
"created": "2017-02-28T09:24:59.366-0600",
"id": "347806",
"items": [
{
"field": "status",
"fieldtype": "jira",
"from": "1",
"fromString": "Open",
"to": "3",
"toString": "In Progress"
}
]
},
{
"author": {
"active": true,
"displayName": "Some Consultant",
"emailAddress": "consultant@somecompany.com",
"key": "consultant@somecompany.com",
"name": "consultant@somecompany.com",
"self": "https://...",
"timeZone": "Etc/GMT-1"
},
"created": "2017-03-01T03:53:41.153-0600",
"id": "107348",
"items": [
{
"field": "resolution",
"fieldtype": "jira",
"from": null,
"fromString": null,
"to": "1",
"toString": "Fixed"
},
{
"field": "status",
"fieldtype": "jira",
"from": "3",
"fromString": "In Progress",
"to": "11300",
"toString": "Preview"
}
]
},
{
"author": {
"active": true,
"displayName": "Some Consultant",
"emailAddress": "consultant@somecompany.com",
"key": "consultant@somecompany.com",
"name": "consultant@somecompany.com",
"self": "https://...",
"timeZone": "Etc/GMT-1"
},
"created": "2017-03-01T03:53:52.220-0600",
"id": "108348",
"items": [
{
"field": "WorklogId",
"fieldtype": "jira",
"from": "18200",
"fromString": "18200",
"to": null,
"toString": null
},
{
"field": "timespent",
"fieldtype": "jira",
"from": null,
"fromString": null,
"to": "1800",
"toString": "1800"
},
{
"field": "timeestimate",
"fieldtype": "jira",
"from": null,
"fromString": null,
"to": "0",
"toString": "0"
}
]
},
{
"author": {
"active": true,
"displayName": "Some Consultant",
"emailAddress": "consultant@somecompany.com",
"key": "consultant@somecompany.com",
"name": "consultant@somecompany.com",
"self": "https://...",
"timeZone": "Etc/GMT-1"
},
"created": "2017-03-01T03:53:59.335-0600",
"id": "109348",
"items": [
{
"field": "assignee",
"fieldtype": "jira",
"from": "consultant@somecompany.com",
"fromString": "Some Consultant",
}
]
},
{
"author": {
"active": true,
"displayName": "Some User",
"emailAddress": "consultant@somecompany.com",
"key": "someuserid",
"name": "someuserid",
"self": "https://...",
"timeZone": "America/Chicago"
},
"created": "2017-03-01T08:22:18.235-0600",
"id": "177348",
"items": [
{
"field": "status",
"fieldtype": "jira",
"from": "11300",
"fromString": "Preview",
"to": "11301",
"toString": "Send to Client"
}
]
},
{
"author": {
"active": true,
"displayName": "Some User",
"emailAddress": "consultant@somecompany.com",
"key": "someuserid",
"name": "someuserid",
"self": "https://...",
"timeZone": "America/Chicago"
},
"created": "2017-03-01T08:22:28.460-0600",
"id": "178348",
"items": [
{
"field": "assignee",
"fieldtype": "jira",
"from": "someuserid",
"fromString": "Some User",
"to": "consultant@somecompany.com",
"toString": "Some Consultant"
},
{
"field": "status",
"fieldtype": "jira",
"from": "11301",
"fromString": "Send to Client",
"to": "5",
"toString": "Resolved"
}
]
},
{
"author": {
"active": true,
"displayName": "Some Consultant",
"emailAddress": "consultant@somecompany.com",
"key": "consultant@somecompany.com",
"name": "consultant@somecompany.com",
"self": "https://...",
"timeZone": "Etc/GMT-1"
},
"created": "2017-03-01T08:36:29.979-0600",
"id": "186348",
"items": [
{
"field": "assignee",
"fieldtype": "jira",
"from": "consultant@somecompany.com",
"fromString": "Some Consultant",
"to": "someuserid",
"toString": "Some User"
}
]
},
{
"author": {
"active": true,
"displayName": "Some User",
"emailAddress": "consultant@somecompany.com",
"key": "someuserid",
"name": "someuserid",
"self": "https://...",
"timeZone": "America/Chicago"
},
"created": "2017-03-01T08:41:45.591-0600",
"id": "187348",
"items": [
{
"field": "status",
"fieldtype": "jira",
"from": "5",
"fromString": "Resolved",
"to": "6",
"toString": "Close"
}
]
}
],
"maxResults": 8,
"startAt": 0,
"total": 8
},
"expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
"id": "77808",
"key": "PRJX-768",
"self": "https://..."
},
{
"changelog": {
"histories": [
{
"author": {
"active": true,
"displayName": "Some Consultant",
"emailAddress": "consultant@somecompany.com",
"key": "consultant@somecompany.com",
"name": "consultant@somecompany.com",
"self": "https://...",
"timeZone": "Etc/GMT-1"
},
"created": "2017-02-24T05:27:36.144-0600",
"id": "723346",
"items": [
{
"field": "status",
"fieldtype": "jira",
"from": "1",
"fromString": "Open",
"to": "3",
"toString": "In Progress"
}
]
},
{
"author": {
"active": true,
"displayName": "Some Consultant",
"emailAddress": "consultant@somecompany.com",
"key": "consultant@somecompany.com",
"name": "consultant@somecompany.com",
"self": "https://...",
"timeZone": "Etc/GMT-1"
},
"created": "2017-02-24T05:53:25.205-0600",
"id": "728346",
"items": [
{
"field": "WorklogId",
"fieldtype": "jira",
"from": "18101",
"fromString": "18101",
"to": null,
"toString": null
},
{
"field": "timespent",
"fieldtype": "jira",
"from": null,
"fromString": null,
"to": "1200",
"toString": "1200"
},
{
"field": "timeestimate",
"fieldtype": "jira",
"from": null,
"fromString": null,
"to": "0",
"toString": "0"
}
]
},
{
"author": {
"active": true,
"displayName": "Some Consultant",
"emailAddress": "consultant@somecompany.com",
"key": "consultant@somecompany.com",
"name": "consultant@somecompany.com",
"self": "https://...",
"timeZone": "Etc/GMT-1"
},
"created": "2017-02-24T05:53:31.746-0600",
"id": "729346",
"items": [
{
"field": "assignee",
"fieldtype": "jira",
"from": "consultant@somecompany.com",
"fromString": "Some Consultant",
"to": "someuserid",
"toString": "Some User"
}
]
},
{
"author": {
"active": true,
"displayName": "Some Consultant",
"emailAddress": "consultant@somecompany.com",
"key": "consultant@somecompany.com",
"name": "consultant@somecompany.com",
"self": "https://...",
"timeZone": "Etc/GMT-1"
},
"created": "2017-02-24T05:53:39.856-0600",
"id": "730346",
"items": [
{
"field": "resolution",
"fieldtype": "jira",
"from": null,
"fromString": null,
"to": "1",
"toString": "Fixed"
},
{
"field": "status",
"fieldtype": "jira",
"from": "3",
"fromString": "In Progress",
"to": "11300",
"toString": "Preview"
}
]
},
{
"author": {
"active": true,
"displayName": "Some User",
"emailAddress": "consultant@somecompany.com",
"key": "someuserid",
"name": "someuserid",
"self": "https://...",
"timeZone": "America/Chicago"
},
"created": "2017-02-24T08:00:17.536-0600",
"id": "749346",
"items": [
{
"field": "status",
"fieldtype": "jira",
"from": "11300",
"fromString": "Preview",
"to": "11301",
"toString": "Send to Client"
}
]
},
{
"author": {
"active": true,
"displayName": "Some User",
"emailAddress": "consultant@somecompany.com",
"key": "someuserid",
"name": "someuserid",
"self": "https://...",
"timeZone": "America/Chicago"
},
"created": "2017-02-24T08:00:26.048-0600",
"id": "750346",
"items": [
{
"field": "assignee",
"fieldtype": "jira",
"from": "someuserid",
"fromString": "Some User",
"to": "consultant@somecompany.com",
"toString": "Some Consultant"
},
{
"field": "status",
"fieldtype": "jira",
"from": "11301",
"fromString": "Send to Client",
"to": "5",
"toString": "Resolved"
}
]
},
{
"author": {
"active": true,
"displayName": "Some Consultant",
"emailAddress": "consultant@somecompany.com",
"key": "consultant@somecompany.com",
"name": "consultant@somecompany.com",
"self": "https://...",
"timeZone": "Etc/GMT-1"
},
"created": "2017-02-24T08:09:08.299-0600",
"id": "752346",
"items": [
{
"field": "assignee",
"fieldtype": "jira",
"from": "consultant@somecompany.com",
"fromString": "Some Consultant",
"to": "someuserid",
"toString": "Some User"
}
]
},
{
"author": {
"active": true,
"displayName": "Some User",
"emailAddress": "consultant@somecompany.com",
"key": "someuserid",
"name": "someuserid",
"self": "https://...",
"timeZone": "America/Chicago"
},
"created": "2017-02-24T08:14:47.995-0600",
"id": "753346",
"items": [
{
"field": "status",
"fieldtype": "jira",
"from": "5",
"fromString": "Resolved",
"to": "6",
"toString": "Close"
}
]
}
],
"maxResults": 8,
"startAt": 0,
"total": 8
},
"expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
"id": "77585",
"key": "PRJX-762",
"self": "https://..."
},
{
"changelog": {
"histories": [
{
"author": {
"active": true,
"displayName": "Some Consultant",
"emailAddress": "consultant@somecompany.com",
"key": "consultant@somecompany.com",
"name": "consultant@somecompany.com",
"self": "https://...",
"timeZone": "Etc/GMT-1"
},
"created": "2017-02-23T10:47:14.485-0600",
"id": "204346",
"items": [
{
"field": "status",
"fieldtype": "jira",
"from": "1",
"fromString": "Open",
"to": "3",
"toString": "In Progress"
}
]
},
{
"author": {
"active": true,
"displayName": "Some Consultant",
"emailAddress": "consultant@somecompany.com",
"key": "consultant@somecompany.com",
"name": "consultant@somecompany.com",
"self": "https://...",
"timeZone": "Etc/GMT-1"
},
"created": "2017-02-23T10:47:23.399-0600",
"id": "206346",
"items": [
{
"field": "WorklogId",
"fieldtype": "jira",
"from": "18002",
"fromString": "18002",
"to": null,
"toString": null
},
{
"field": "timespent",
"fieldtype": "jira",
"from": null,
"fromString": null,
"to": "3600",
"toString": "3600"
},
{
"field": "timeestimate",
"fieldtype": "jira",
"from": null,
"fromString": null,
"to": "0",
"toString": "0"
}
]
}
],
"maxResults": 17,
"startAt": 0,
"total": 17
},
"expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
"id": "51660",
"key": "PRJX-351",
"self": "https://..."
}
],
"maxResults": 1000,
"startAt": 0,
"total": 96
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.