Skip to content

Instantly share code, notes, and snippets.

@adimasuhid
Last active August 29, 2015 14:01
Show Gist options
  • Save adimasuhid/e0cab2673bdc7972c775 to your computer and use it in GitHub Desktop.
Save adimasuhid/e0cab2673bdc7972c775 to your computer and use it in GitHub Desktop.
Pivotal Tracker JSON Response
Story Creation:
{
"kind": "story_create_activity",
"guid": "1081752_16",
"project_version": 16,
"message": "Ace Dimasuhid added this feature",
"highlight": "added",
"changes": [
{
"kind": "story",
"change_type": "create",
"id": 72006948,
"new_values": {
"id": 72006948,
"project_id": 1081752,
"name": "Title",
"description": "Description",
"story_type": "feature",
"current_state": "unscheduled",
"requested_by_id": 876469,
"owner_ids": [
],
"label_ids": [
],
"follower_ids": [
],
"created_at": 1401074764000,
"updated_at": 1401074764000,
"before_id": 71458996,
"labels": [
]
},
"name": "Title",
"story_type": "feature"
}
],
"primary_resources": [
{
"kind": "story",
"id": 72006948,
"name": "Title",
"story_type": "feature",
"url": "https://www.pivotaltracker.com/story/show/72006948"
}
],
"project": {
"kind": "project",
"id": 1081752,
"name": "Test Project"
},
"performed_by": {
"kind": "person",
"id": 876469,
"name": "Ace Dimasuhid",
"initials": "Ace"
},
"occurred_at": 1401074764000
}
Change assignee:
{
"kind": "story_update_activity",
"guid": "1081752_8",
"project_version": 8,
"message": "Ace Dimasuhid edited this feature",
"highlight": "edited",
"changes": [
{
"kind": "story",
"change_type": "update",
"id": 71459524,
"original_values": {
"owned_by_id": null,
"owner_ids": [
],
"updated_at": 1400228395000
},
"new_values": {
"owned_by_id": 876469,
"owner_ids": [
876469
],
"updated_at": 1400228402000
},
"name": "Second Story",
"story_type": "feature"
}
],
"primary_resources": [
{
"kind": "story",
"id": 71459524,
"name": "Second Story",
"story_type": "feature",
"url": "https://www.pivotaltracker.com/story/show/71459524"
}
],
"project": {
"kind": "project",
"id": 1081752,
"name": "Test Project"
},
"performed_by": {
"kind": "person",
"id": 876469,
"name": "Ace Dimasuhid",
"initials": "Ace"
},
"occurred_at": 1400228402000
}
Task Creation:
{
"kind": "task_create_activity",
"guid": "1081752_9",
"project_version": 9,
"message": "Ace Dimasuhid added task: \"Task 1\"",
"highlight": "added task:",
"changes": [
{
"kind": "task",
"change_type": "create",
"id": 22421982,
"new_values": {
"id": 22421982,
"story_id": 71459524,
"description": "Task 1",
"complete": false,
"position": 1,
"created_at": 1400228682000,
"updated_at": 1400228682000
}
},
{
"kind": "story",
"change_type": "update",
"id": 71459524,
"original_values": {
"updated_at": 1400228402000
},
"new_values": {
"updated_at": 1400228682000
},
"name": "Second Story",
"story_type": "feature"
}
],
"primary_resources": [
{
"kind": "story",
"id": 71459524,
"name": "Second Story",
"story_type": "feature",
"url": "https://www.pivotaltracker.com/story/show/71459524"
}
],
"project": {
"kind": "project",
"id": 1081752,
"name": "Test Project"
},
"performed_by": {
"kind": "person",
"id": 876469,
"name": "Ace Dimasuhid",
"initials": "Ace"
},
"occurred_at": 1400228682000
}
Check/Uncheck Task:
{
"kind": "task_update_activity",
"guid": "1081752_10",
"project_version": 10,
"message": "Ace Dimasuhid completed task: \"Task 1\"",
"highlight": "completed task:",
"changes": [
{
"kind": "story",
"change_type": "update",
"id": 71459524,
"original_values": {
"updated_at": 1400228682000
},
"new_values": {
"updated_at": 1400228841000
},
"name": "Second Story",
"story_type": "feature"
},
{
"kind": "task",
"change_type": "update",
"id": 22421982,
"original_values": {
"complete": false,
"updated_at": 1400228682000
},
"new_values": {
"complete": true,
"updated_at": 1400228841000
}
}
],
"primary_resources": [
{
"kind": "story",
"id": 71459524,
"name": "Second Story",
"story_type": "feature",
"url": "https://www.pivotaltracker.com/story/show/71459524"
}
],
"project": {
"kind": "project",
"id": 1081752,
"name": "Test Project"
},
"performed_by": {
"kind": "person",
"id": 876469,
"name": "Ace Dimasuhid",
"initials": "Ace"
},
"occurred_at": 1400228841000
}
Accept Stories:
{
"kind": "story_update_activity",
"guid": "1081752_14",
"project_version": 14,
"message": "Ace Dimasuhid delivered this feature",
"highlight": "delivered",
"changes": [
{
"kind": "story",
"change_type": "update",
"id": 71459524,
"original_values": {
"current_state": "finished",
"updated_at": 1400229342000
},
"new_values": {
"current_state": "delivered",
"updated_at": 1400229356000
},
"name": "Second Story",
"story_type": "feature"
}
],
"primary_resources": [
{
"kind": "story",
"id": 71459524,
"name": "Second Story",
"story_type": "feature",
"url": "https://www.pivotaltracker.com/story/show/71459524"
}
],
"project": {
"kind": "project",
"id": 1081752,
"name": "Test Project"
},
"performed_by": {
"kind": "person",
"id": 876469,
"name": "Ace Dimasuhid",
"initials": "Ace"
},
"occurred_at": 1400229356000
}
Delete Story:
{
"kind": "story_delete_activity",
"guid": "1081752_15",
"project_version": 15,
"message": "Ace Dimasuhid deleted this feature",
"highlight": "deleted",
"changes": [
{
"kind": "story",
"change_type": "delete",
"id": 71459524,
"name": "Second Story",
"story_type": "feature"
},
{
"kind": "task",
"change_type": "delete",
"id": 22421982
}
],
"primary_resources": [
{
"kind": "story",
"id": 71459524,
"name": "Second Story",
"story_type": "feature",
"url": "https://www.pivotaltracker.com/story/show/71459524"
}
],
"project": {
"kind": "project",
"id": 1081752,
"name": "Test Project"
},
"performed_by": {
"kind": "person",
"id": 876469,
"name": "Ace Dimasuhid",
"initials": "Ace"
},
"occurred_at": 1400229571000
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment