Skip to content

Instantly share code, notes, and snippets.

@lkraider
Created April 25, 2016 13:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lkraider/c0eccf6677ce5372e5528dba7274763d to your computer and use it in GitHub Desktop.
Save lkraider/c0eccf6677ce5372e5528dba7274763d to your computer and use it in GitHub Desktop.
{
"timestamp": 1461277820031,
"webhookEvent": "jira:issue_updated",
"user": {
"self": "http://jira.server.my/rest/api/2/user?username=paul",
"name": "paul",
"key": "paul",
"emailAddress": "paul@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=32"
},
"displayName": "Paul E.",
"active": true,
"timeZone": "UTC"
},
"issue": {
"id": "25201",
"self": "http://jira.server.my/rest/api/2/issue/25201",
"key": "MYPROJECT-154",
"fields": {
"issuetype": {
"self": "http://jira.server.my/rest/api/2/issuetype/2",
"id": "2",
"description": "A new feature of the product, which has yet to be developed.",
"iconUrl": "http://jira.server.my/secure/viewavatar?size=xsmall&avatarId=10411&avatarType=issuetype",
"name": "New Feature",
"subtask": false,
"avatarId": 10411
},
"timespent": null,
"project": {
"self": "http://jira.server.my/rest/api/2/project/11902",
"id": "11902",
"key": "MYPROJECT",
"name": "MyProject App",
"avatarUrls": {
"48x48": "http://jira.server.my/secure/projectavatar?pid=11902&avatarId=10300",
"24x24": "http://jira.server.my/secure/projectavatar?size=small&pid=11902&avatarId=10300",
"16x16": "http://jira.server.my/secure/projectavatar?size=xsmall&pid=11902&avatarId=10300",
"32x32": "http://jira.server.my/secure/projectavatar?size=medium&pid=11902&avatarId=10300"
}
},
"fixVersions": [],
"aggregatetimespent": null,
"resolution": null,
"customfield_10302": null,
"resolutiondate": null,
"workratio": -1,
"lastViewed": "2016-04-21T19:30:19.940-0300",
"watches": {
"self": "http://jira.server.my/rest/api/2/issue/MYPROJECT-154/watchers",
"watchCount": 1,
"isWatching": true
},
"created": "2016-04-21T16:54:44.370-0300",
"customfield_10100": null,
"priority": {
"self": "http://jira.server.my/rest/api/2/priority/3",
"iconUrl": "http://jira.server.my/images/icons/priorities/major.svg",
"name": "Major",
"id": "3"
},
"customfield_10101": null,
"customfield_10300": null,
"customfield_10102": "9223372036854775807",
"customfield_10301": null,
"labels": [],
"timeestimate": null,
"aggregatetimeoriginalestimate": null,
"versions": [],
"issuelinks": [],
"assignee": {
"self": "http://jira.server.my/rest/api/2/user?username=jonatan",
"name": "jonatan",
"key": "jonatan",
"emailAddress": "jonatan@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb?d=mm&s=32"
},
"displayName": "Jonatan M.",
"active": true,
"timeZone": "UTC"
},
"updated": "2016-04-21T19:30:20.029-0300",
"status": {
"self": "http://jira.server.my/rest/api/2/status/4",
"description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.",
"iconUrl": "http://jira.server.my/images/icons/statuses/reopened.png",
"name": "Reopened",
"id": "4",
"statusCategory": {
"self": "http://jira.server.my/rest/api/2/statuscategory/2",
"id": 2,
"key": "new",
"colorName": "blue-gray",
"name": "To Do"
}
},
"components": [],
"timeoriginalestimate": null,
"description": null,
"timetracking": {},
"customfield_10006": null,
"attachment": [],
"aggregatetimeestimate": null,
"summary": "Test for webhook in chat",
"creator": {
"self": "http://jira.server.my/rest/api/2/user?username=paul",
"name": "paul",
"key": "paul",
"emailAddress": "paul@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=32"
},
"displayName": "Paul E.",
"active": true,
"timeZone": "UTC"
},
"subtasks": [],
"reporter": {
"self": "http://jira.server.my/rest/api/2/user?username=paul",
"name": "paul",
"key": "paul",
"emailAddress": "paul@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=32"
},
"displayName": "Paul E.",
"active": true,
"timeZone": "UTC"
},
"customfield_10000": "9223372036854775807",
"aggregateprogress": {
"progress": 0,
"total": 0
},
"customfield_10001": null,
"customfield_10002": null,
"customfield_10200": "0|zzzzzy:zzzzzzzzzzzzzv",
"environment": null,
"duedate": null,
"progress": {
"progress": 0,
"total": 0
},
"comment": {
"startAt": 0,
"maxResults": 1,
"total": 1,
"comments": [
{
"self": "http://jira.server.my/rest/api/2/issue/25201/comment/23001",
"id": "23001",
"author": {
"self": "http://jira.server.my/rest/api/2/user?username=paul",
"name": "paul",
"key": "paul",
"emailAddress": "paul@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=32"
},
"displayName": "Paul E.",
"active": true,
"timeZone": "UTC"
},
"body": "ok",
"updateAuthor": {
"self": "http://jira.server.my/rest/api/2/user?username=paul",
"name": "paul",
"key": "paul",
"emailAddress": "paul@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=32"
},
"displayName": "Paul E.",
"active": true,
"timeZone": "UTC"
},
"created": "2016-04-21T19:30:19.971-0300",
"updated": "2016-04-21T19:30:19.971-0300"
}
]
},
"votes": {
"self": "http://jira.server.my/rest/api/2/issue/MYPROJECT-154/votes",
"votes": 0,
"hasVoted": false
},
"worklog": {
"startAt": 0,
"maxResults": 20,
"total": 0,
"worklogs": []
}
}
},
"changelog": {
"id": "62142",
"items": [
{
"field": "status",
"fieldtype": "jira",
"from": "5",
"fromString": "Resolved",
"to": "4",
"toString": "Reopened"
},
{
"field": "resolution",
"fieldtype": "jira",
"from": "1",
"fromString": "Fixed",
"to": null,
"toString": null
}
]
},
"comment": {
"self": "http://jira.server.my/rest/api/2/issue/25201/comment/23001",
"id": "23001",
"author": {
"self": "http://jira.server.my/rest/api/2/user?username=paul",
"name": "paul",
"key": "paul",
"emailAddress": "paul@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=32"
},
"displayName": "Paul E.",
"active": true,
"timeZone": "UTC"
},
"body": "ok",
"updateAuthor": {
"self": "http://jira.server.my/rest/api/2/user?username=paul",
"name": "paul",
"key": "paul",
"emailAddress": "paul@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=32"
},
"displayName": "Paul E.",
"active": true,
"timeZone": "UTC"
},
"created": "2016-04-21T19:30:19.971-0300",
"updated": "2016-04-21T19:30:19.971-0300"
}
}
{
"timestamp": 1461273391729,
"webhookEvent": "jira:issue_updated",
"user": {
"self": "http://jira.server.my/rest/api/2/user?username=rover",
"name": "rover",
"key": "rover",
"emailAddress": "rover@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=32"
},
"displayName": "J. Rover",
"active": true,
"timeZone": "UTC"
},
"issue": {
"id": "25102",
"self": "http://jira.server.my/rest/api/2/issue/25102",
"key": "MYPROJECT-3",
"fields": {
"issuetype": {
"self": "http://jira.server.my/rest/api/2/issuetype/2",
"id": "2",
"description": "A new feature of the product, which has yet to be developed.",
"iconUrl": "http://jira.server.my/secure/viewavatar?size=xsmall&avatarId=10411&avatarType=issuetype",
"name": "New Feature",
"subtask": false,
"avatarId": 10411
},
"timespent": 7200,
"project": {
"self": "http://jira.server.my/rest/api/2/project/13501",
"id": "13501",
"key": "MYPROJECT",
"name": "MyProject App",
"avatarUrls": {
"48x48": "http://jira.server.my/secure/projectavatar?avatarId=10503",
"24x24": "http://jira.server.my/secure/projectavatar?size=small&avatarId=10503",
"16x16": "http://jira.server.my/secure/projectavatar?size=xsmall&avatarId=10503",
"32x32": "http://jira.server.my/secure/projectavatar?size=medium&avatarId=10503"
}
},
"fixVersions": [],
"aggregatetimespent": 7200,
"resolution": {
"self": "http://jira.server.my/rest/api/2/resolution/6",
"id": "6",
"description": "GreenHopper Managed Resolution",
"name": "Done"
},
"customfield_10302": null,
"resolutiondate": "2016-04-21T18:16:31.726-0300",
"workratio": 33,
"lastViewed": "2016-04-21T18:16:31.719-0300",
"watches": {
"self": "http://jira.server.my/rest/api/2/issue/MYPROJECT-3/watchers",
"watchCount": 1,
"isWatching": false
},
"created": "2016-04-18T19:17:18.142-0300",
"customfield_10100": [
"com.atlassian.greenhopper.service.sprint.Sprint@5df1caf1[id=397,rapidViewId=36,state=ACTIVE,name=Sprint 1,startDate=2016-04-19T19:36:00.000-03:00,endDate=2016-05-03T19:36:00.000-03:00,completeDate=<null>,sequence=397]"
],
"priority": {
"self": "http://jira.server.my/rest/api/2/priority/3",
"iconUrl": "http://jira.server.my/images/icons/priorities/major.svg",
"name": "Major",
"id": "3"
},
"customfield_10101": null,
"customfield_10300": null,
"customfield_10102": "9223372036854775807",
"customfield_10301": null,
"labels": [],
"timeestimate": 0,
"aggregatetimeoriginalestimate": 21600,
"versions": [],
"issuelinks": [
{
"id": "15502",
"self": "http://jira.server.my/rest/api/2/issueLink/15502",
"type": {
"id": "10001",
"name": "Cloners",
"inward": "is cloned by",
"outward": "clones",
"self": "http://jira.server.my/rest/api/2/issueLinkType/10001"
},
"outwardIssue": {
"id": "24340",
"key": "BMA-3",
"self": "http://jira.server.my/rest/api/2/issue/24340",
"fields": {
"summary": "Tracking view",
"status": {
"self": "http://jira.server.my/rest/api/2/status/10001",
"description": "",
"iconUrl": "http://jira.server.my/images/icons/statuses/closed.png",
"name": "Done",
"id": "10001",
"statusCategory": {
"self": "http://jira.server.my/rest/api/2/statuscategory/3",
"id": 3,
"key": "done",
"colorName": "green",
"name": "Done"
}
},
"priority": {
"self": "http://jira.server.my/rest/api/2/priority/3",
"iconUrl": "http://jira.server.my/images/icons/priorities/major.svg",
"name": "Major",
"id": "3"
},
"issuetype": {
"self": "http://jira.server.my/rest/api/2/issuetype/2",
"id": "2",
"description": "A new feature of the product, which has yet to be developed.",
"iconUrl": "http://jira.server.my/secure/viewavatar?size=xsmall&avatarId=10411&avatarType=issuetype",
"name": "New Feature",
"subtask": false,
"avatarId": 10411
}
}
}
}
],
"assignee": {
"self": "http://jira.server.my/rest/api/2/user?username=rover",
"name": "rover",
"key": "rover",
"emailAddress": "rover@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=32"
},
"displayName": "J. Rover",
"active": true,
"timeZone": "UTC"
},
"updated": "2016-04-21T18:16:31.727-0300",
"status": {
"self": "http://jira.server.my/rest/api/2/status/10001",
"description": "",
"iconUrl": "http://jira.server.my/images/icons/statuses/closed.png",
"name": "Done",
"id": "10001",
"statusCategory": {
"self": "http://jira.server.my/rest/api/2/statuscategory/3",
"id": 3,
"key": "done",
"colorName": "green",
"name": "Done"
}
},
"components": [],
"timeoriginalestimate": 21600,
"description": "Implement the tracking screen that allows the user to enable or disable tracking mode.\r\n\r\nMockup: 2_location1.psd",
"timetracking": {
"originalEstimate": "6h",
"remainingEstimate": "0m",
"timeSpent": "2h",
"originalEstimateSeconds": 21600,
"remainingEstimateSeconds": 0,
"timeSpentSeconds": 7200
},
"customfield_10006": null,
"attachment": [],
"aggregatetimeestimate": 0,
"summary": "Tracking view",
"creator": {
"self": "http://jira.server.my/rest/api/2/user?username=jonatan",
"name": "jonatan",
"key": "jonatan",
"emailAddress": "jonatan@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb?d=mm&s=32"
},
"displayName": "Jonatan M.",
"active": true,
"timeZone": "UTC"
},
"subtasks": [],
"reporter": {
"self": "http://jira.server.my/rest/api/2/user?username=jonatan",
"name": "jonatan",
"key": "jonatan",
"emailAddress": "jonatan@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb?d=mm&s=32"
},
"displayName": "Jonatan M.",
"active": true,
"timeZone": "UTC"
},
"customfield_10000": "9223372036854775807",
"aggregateprogress": {
"progress": 7200,
"total": 7200,
"percent": 100
},
"customfield_10001": null,
"customfield_10002": null,
"customfield_10200": "0|zzzzzy:zzzzzzzzzzzzy",
"environment": null,
"duedate": null,
"progress": {
"progress": 7200,
"total": 7200,
"percent": 100
},
"comment": {
"startAt": 0,
"maxResults": 0,
"total": 0,
"comments": []
},
"votes": {
"self": "http://jira.server.my/rest/api/2/issue/MYPROJECT-3/votes",
"votes": 0,
"hasVoted": false
},
"worklog": {
"startAt": 0,
"maxResults": 20,
"total": 1,
"worklogs": [
{
"self": "http://jira.server.my/rest/api/2/issue/25102/worklog/28204",
"author": {
"self": "http://jira.server.my/rest/api/2/user?username=rover",
"name": "rover",
"key": "rover",
"emailAddress": "rover@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=32"
},
"displayName": "J. Rover",
"active": true,
"timeZone": "UTC"
},
"updateAuthor": {
"self": "http://jira.server.my/rest/api/2/user?username=rover",
"name": "rover",
"key": "rover",
"emailAddress": "rover@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=32"
},
"displayName": "J. Rover",
"active": true,
"timeZone": "UTC"
},
"comment": "",
"created": "2016-04-21T18:16:29.462-0300",
"updated": "2016-04-21T18:16:29.462-0300",
"started": "2016-04-21T16:29:00.000-0300",
"timeSpent": "2h",
"timeSpentSeconds": 7200,
"id": "28204"
}
]
}
}
},
"changelog": {
"id": "62126",
"items": [
{
"field": "status",
"fieldtype": "jira",
"from": "3",
"fromString": "In Progress",
"to": "10001",
"toString": "Done"
},
{
"field": "resolution",
"fieldtype": "jira",
"from": null,
"fromString": null,
"to": "6",
"toString": "Done"
}
]
}
}
{
"timestamp": 1461272264975,
"webhookEvent": "jira:issue_updated",
"user": {
"self": "http://jira.server.my/rest/api/2/user?username=paul",
"name": "paul",
"key": "paul",
"emailAddress": "paul@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=32"
},
"displayName": "Paul E.",
"active": true,
"timeZone": "UTC"
},
"issue": {
"id": "25201",
"self": "http://jira.server.my/rest/api/2/issue/25201",
"key": "MYPROJECT-154",
"fields": {
"issuetype": {
"self": "http://jira.server.my/rest/api/2/issuetype/1",
"id": "1",
"description": "A problem which impairs or prevents the functions of the product.",
"iconUrl": "http://jira.server.my/secure/viewavatar?size=xsmall&avatarId=10403&avatarType=issuetype",
"name": "Bug",
"subtask": false,
"avatarId": 10403
},
"timespent": null,
"project": {
"self": "http://jira.server.my/rest/api/2/project/11902",
"id": "11902",
"key": "MYPROJECT",
"name": "MyProject App",
"avatarUrls": {
"48x48": "http://jira.server.my/secure/projectavatar?pid=11902&avatarId=10300",
"24x24": "http://jira.server.my/secure/projectavatar?size=small&pid=11902&avatarId=10300",
"16x16": "http://jira.server.my/secure/projectavatar?size=xsmall&pid=11902&avatarId=10300",
"32x32": "http://jira.server.my/secure/projectavatar?size=medium&pid=11902&avatarId=10300"
}
},
"fixVersions": [],
"aggregatetimespent": null,
"resolution": null,
"customfield_10302": null,
"resolutiondate": null,
"workratio": -1,
"lastViewed": "2016-04-21T17:54:54.227-0300",
"watches": {
"self": "http://jira.server.my/rest/api/2/issue/MYPROJECT-154/watchers",
"watchCount": 1,
"isWatching": true
},
"created": "2016-04-21T16:54:44.370-0300",
"customfield_10100": null,
"priority": {
"self": "http://jira.server.my/rest/api/2/priority/3",
"iconUrl": "http://jira.server.my/images/icons/priorities/major.svg",
"name": "Major",
"id": "3"
},
"customfield_10101": null,
"customfield_10300": null,
"customfield_10102": "9223372036854775807",
"customfield_10301": null,
"labels": [],
"timeestimate": null,
"aggregatetimeoriginalestimate": null,
"versions": [],
"issuelinks": [],
"assignee": {
"self": "http://jira.server.my/rest/api/2/user?username=paul",
"name": "paul",
"key": "paul",
"emailAddress": "paul@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=32"
},
"displayName": "Paul E.",
"active": true,
"timeZone": "UTC"
},
"updated": "2016-04-21T17:57:44.971-0300",
"status": {
"self": "http://jira.server.my/rest/api/2/status/4",
"description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.",
"iconUrl": "http://jira.server.my/images/icons/statuses/reopened.png",
"name": "Reopened",
"id": "4",
"statusCategory": {
"self": "http://jira.server.my/rest/api/2/statuscategory/2",
"id": 2,
"key": "new",
"colorName": "blue-gray",
"name": "To Do"
}
},
"components": [],
"timeoriginalestimate": null,
"description": null,
"timetracking": {},
"customfield_10006": null,
"attachment": [],
"aggregatetimeestimate": null,
"summary": "Test",
"creator": {
"self": "http://jira.server.my/rest/api/2/user?username=paul",
"name": "paul",
"key": "paul",
"emailAddress": "paul@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=32"
},
"displayName": "Paul E.",
"active": true,
"timeZone": "UTC"
},
"subtasks": [],
"reporter": {
"self": "http://jira.server.my/rest/api/2/user?username=paul",
"name": "paul",
"key": "paul",
"emailAddress": "paul@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?d=mm&s=32"
},
"displayName": "Paul E.",
"active": true,
"timeZone": "UTC"
},
"customfield_10000": "9223372036854775807",
"aggregateprogress": {
"progress": 0,
"total": 0
},
"customfield_10001": null,
"customfield_10002": null,
"customfield_10200": "0|zzzzzy:zzzzzzzzzzzzzv",
"environment": null,
"duedate": null,
"progress": {
"progress": 0,
"total": 0
},
"comment": {
"startAt": 0,
"maxResults": 0,
"total": 0,
"comments": []
},
"votes": {
"self": "http://jira.server.my/rest/api/2/issue/MYPROJECT-154/votes",
"votes": 0,
"hasVoted": false
},
"worklog": {
"startAt": 0,
"maxResults": 20,
"total": 0,
"worklogs": []
}
}
},
"changelog": {
"id": "62124",
"items": [
{
"field": "assignee",
"fieldtype": "jira",
"from": "jonatan",
"fromString": "Jonatan M.",
"to": "paul",
"toString": "Paul E."
},
{
"field": "issuetype",
"fieldtype": "jira",
"from": "2",
"fromString": "New Feature",
"to": "1",
"toString": "Bug"
}
]
}
}
{
"timestamp": 1461273389475,
"webhookEvent": "jira:worklog_updated",
"user": {
"self": "http://jira.server.my/rest/api/2/user?username=rover",
"name": "rover",
"key": "rover",
"emailAddress": "rover@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=32"
},
"displayName": "J. Rover",
"active": true,
"timeZone": "UTC"
},
"issue": {
"id": "25102",
"self": "http://jira.server.my/rest/api/2/issue/25102",
"key": "MYPROJECT-3",
"fields": {
"issuetype": {
"self": "http://jira.server.my/rest/api/2/issuetype/2",
"id": "2",
"description": "A new feature of the product, which has yet to be developed.",
"iconUrl": "http://jira.server.my/secure/viewavatar?size=xsmall&avatarId=10411&avatarType=issuetype",
"name": "New Feature",
"subtask": false,
"avatarId": 10411
},
"timespent": 7200,
"project": {
"self": "http://jira.server.my/rest/api/2/project/13501",
"id": "13501",
"key": "MYPROJECT",
"name": "MyProject App",
"avatarUrls": {
"48x48": "http://jira.server.my/secure/projectavatar?avatarId=10503",
"24x24": "http://jira.server.my/secure/projectavatar?size=small&avatarId=10503",
"16x16": "http://jira.server.my/secure/projectavatar?size=xsmall&avatarId=10503",
"32x32": "http://jira.server.my/secure/projectavatar?size=medium&avatarId=10503"
}
},
"fixVersions": [],
"aggregatetimespent": 7200,
"resolution": null,
"customfield_10302": null,
"resolutiondate": null,
"workratio": 33,
"lastViewed": "2016-04-21T18:16:29.458-0300",
"watches": {
"self": "http://jira.server.my/rest/api/2/issue/MYPROJECT-3/watchers",
"watchCount": 1,
"isWatching": false
},
"created": "2016-04-18T19:17:18.142-0300",
"customfield_10100": [
"com.atlassian.greenhopper.service.sprint.Sprint@5df1caf1[id=397,rapidViewId=36,state=ACTIVE,name=Sprint 1,startDate=2016-04-19T19:36:00.000-03:00,endDate=2016-05-03T19:36:00.000-03:00,completeDate=<null>,sequence=397]"
],
"priority": {
"self": "http://jira.server.my/rest/api/2/priority/3",
"iconUrl": "http://jira.server.my/images/icons/priorities/major.svg",
"name": "Major",
"id": "3"
},
"customfield_10101": null,
"customfield_10300": null,
"customfield_10102": "9223372036854775807",
"customfield_10301": null,
"labels": [],
"timeestimate": 0,
"aggregatetimeoriginalestimate": 21600,
"versions": [],
"issuelinks": [
{
"id": "15502",
"self": "http://jira.server.my/rest/api/2/issueLink/15502",
"type": {
"id": "10001",
"name": "Cloners",
"inward": "is cloned by",
"outward": "clones",
"self": "http://jira.server.my/rest/api/2/issueLinkType/10001"
},
"outwardIssue": {
"id": "24340",
"key": "BMA-3",
"self": "http://jira.server.my/rest/api/2/issue/24340",
"fields": {
"summary": "Tracking view",
"status": {
"self": "http://jira.server.my/rest/api/2/status/10001",
"description": "",
"iconUrl": "http://jira.server.my/images/icons/statuses/closed.png",
"name": "Done",
"id": "10001",
"statusCategory": {
"self": "http://jira.server.my/rest/api/2/statuscategory/3",
"id": 3,
"key": "done",
"colorName": "green",
"name": "Done"
}
},
"priority": {
"self": "http://jira.server.my/rest/api/2/priority/3",
"iconUrl": "http://jira.server.my/images/icons/priorities/major.svg",
"name": "Major",
"id": "3"
},
"issuetype": {
"self": "http://jira.server.my/rest/api/2/issuetype/2",
"id": "2",
"description": "A new feature of the product, which has yet to be developed.",
"iconUrl": "http://jira.server.my/secure/viewavatar?size=xsmall&avatarId=10411&avatarType=issuetype",
"name": "New Feature",
"subtask": false,
"avatarId": 10411
}
}
}
}
],
"assignee": {
"self": "http://jira.server.my/rest/api/2/user?username=rover",
"name": "rover",
"key": "rover",
"emailAddress": "rover@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=32"
},
"displayName": "J. Rover",
"active": true,
"timeZone": "UTC"
},
"updated": "2016-04-21T18:16:29.464-0300",
"status": {
"self": "http://jira.server.my/rest/api/2/status/3",
"description": "This issue is being actively worked on at the moment by the assignee.",
"iconUrl": "http://jira.server.my/images/icons/statuses/inprogress.png",
"name": "In Progress",
"id": "3",
"statusCategory": {
"self": "http://jira.server.my/rest/api/2/statuscategory/4",
"id": 4,
"key": "indeterminate",
"colorName": "yellow",
"name": "In Progress"
}
},
"components": [],
"timeoriginalestimate": 21600,
"description": "Implement the tracking screen that allows the user to enable or disable tracking mode.\r\n\r\nMockup: 2_location1.psd",
"timetracking": {
"originalEstimate": "6h",
"remainingEstimate": "0m",
"timeSpent": "2h",
"originalEstimateSeconds": 21600,
"remainingEstimateSeconds": 0,
"timeSpentSeconds": 7200
},
"customfield_10006": null,
"attachment": [],
"aggregatetimeestimate": 0,
"summary": "Tracking view",
"creator": {
"self": "http://jira.server.my/rest/api/2/user?username=jonatan",
"name": "jonatan",
"key": "jonatan",
"emailAddress": "jonatan@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb?d=mm&s=32"
},
"displayName": "Jonatan M.",
"active": true,
"timeZone": "UTC"
},
"subtasks": [],
"reporter": {
"self": "http://jira.server.my/rest/api/2/user?username=jonatan",
"name": "jonatan",
"key": "jonatan",
"emailAddress": "jonatan@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb?d=mm&s=32"
},
"displayName": "Jonatan M.",
"active": true,
"timeZone": "UTC"
},
"customfield_10000": "9223372036854775807",
"aggregateprogress": {
"progress": 7200,
"total": 7200,
"percent": 100
},
"customfield_10001": null,
"customfield_10002": null,
"customfield_10200": "0|zzzzzy:zzzzzzzzzzzzy",
"environment": null,
"duedate": null,
"progress": {
"progress": 7200,
"total": 7200,
"percent": 100
},
"comment": {
"startAt": 0,
"maxResults": 0,
"total": 0,
"comments": []
},
"votes": {
"self": "http://jira.server.my/rest/api/2/issue/MYPROJECT-3/votes",
"votes": 0,
"hasVoted": false
},
"worklog": {
"startAt": 0,
"maxResults": 20,
"total": 1,
"worklogs": [
{
"self": "http://jira.server.my/rest/api/2/issue/25102/worklog/28204",
"author": {
"self": "http://jira.server.my/rest/api/2/user?username=rover",
"name": "rover",
"key": "rover",
"emailAddress": "rover@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=32"
},
"displayName": "J. Rover",
"active": true,
"timeZone": "UTC"
},
"updateAuthor": {
"self": "http://jira.server.my/rest/api/2/user?username=rover",
"name": "rover",
"key": "rover",
"emailAddress": "rover@server.my",
"avatarUrls": {
"48x48": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=48",
"24x24": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=24",
"16x16": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=16",
"32x32": "http://www.gravatar.com/avatar/cccccccccccccccccccccccccccccccc?d=mm&s=32"
},
"displayName": "J. Rover",
"active": true,
"timeZone": "UTC"
},
"comment": "",
"created": "2016-04-21T18:16:29.462-0300",
"updated": "2016-04-21T18:16:29.462-0300",
"started": "2016-04-21T16:29:00.000-0300",
"timeSpent": "2h",
"timeSpentSeconds": 7200,
"id": "28204"
}
]
}
}
},
"changelog": {
"id": "62125",
"items": [
{
"field": "WorklogId",
"fieldtype": "jira",
"from": "28204",
"fromString": "28204",
"to": null,
"toString": null
},
{
"field": "timespent",
"fieldtype": "jira",
"from": null,
"fromString": null,
"to": "7200",
"toString": "7200"
},
{
"field": "timeestimate",
"fieldtype": "jira",
"from": "21600",
"fromString": "21600",
"to": "0",
"toString": "0"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment