Skip to content

Instantly share code, notes, and snippets.

@richteri
Created February 21, 2017 11:03
Show Gist options
  • Save richteri/b250fc3ee12ab906c9db3aa568028ee2 to your computer and use it in GitHub Desktop.
Save richteri/b250fc3ee12ab906c9db3aa568028ee2 to your computer and use it in GitHub Desktop.
[
{
"id": "xxx",
"subject": "Title of the issue",
"recommendedAction": "Long text that might span over multiple sections",
"priority": 1,
"severity": 2,
"work": { // is this what we call currently "holder"? yes
"id": "xxx",
"name": "xxx"
},
"owner": { // is this the assignee? yes
"id": "xxx",
"name": "Default User"
},
"created": "2017-02-21T10:28:57.876Z", // this always should be in UTC!
"updated": "2017-02-21T10:28:57.876Z",
"status": "", //UNASSIGNED, ASSIGNED, CLOSED?, yes
"dueDate": "2017-02-21T10:28:57.876Z",
"actionItems": [ // these are works right?, yes
{
"id": "xxx",
"name": "First Action Item"
}, {
"id": "xxx",
"name": "Second Action Item"
}, {
"id": "xxx",
"name": "Third Action Item"
}
],
"attachments": [
{
"id": "xxx",
"name": "Attachment Name",
"type": "XLS" // do we need something like this?
// what's the point
}, {
"id": "xxx",
"name": "Second Attachment Name",
"type": "DOC"
}, {
"id": "xxx",
"name": "Third Attachment Name",
"type": "DOC"
}
],
"tags": [
{
"name": "Name of the first tag",
"values": ["value1", "value2", "value3"] // tags
}, {
"name": "Name of the second tag",
"values": ["value1"]
}, {
"name": "Name of the third tag",
"values": ["1", "2", "3"]
}
],
"customFields": [
{
"name": "Name of the first custom field",
"value": "Custom fields can have only a single value unlike tags, right?"
}, {
"name": "Name of the first custom field",
"value": "Custom fields can have only a single value unlike tags, right?"
}
]
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment