-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtask.js
More file actions
79 lines (77 loc) · 2.65 KB
/
task.js
File metadata and controls
79 lines (77 loc) · 2.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// Adds a task to my project
import { jigPost } from "./lib/jig.js";
(async() => {
let result = await jigPost("tasks", [
{
/* "actComplete": null,
"actStart": null,
"allowAllocatedHours": null,
"allowAnyone": null,
"baseComplete": null,
"baseStart": null,
"bcCommission": null,
"constraintDate": "03/05/2020",
"constraintDayOfTheWeek": null,*/
"description": "My Description",
/*"displayOrder": null,
"dueBy": "3/31/2020",
"eventEnd": null,
"eventStart": null,
"excludeFromStatus": null,
"hideFromClient": null,
"hourlyRate": null,
"ioCommission": null,
"markup": null,
"moneyTask": null,
"percComp": "50",
"percCompSeparate": null,
"planComplete": "3/5/2020",
"planDuration": null,
"planStart": "3/5/2020",
"predecessorsComplete": null,
"priority": "Low",
"projectOrder": null,
"reviewedByTraffic": null,
"scheduleNote": null,
"scheduleTask": null,
"serviceCode": null,
"showDescOnEst": null,
"showOnCalendar": null,
"startDate": null,
"summaryTaskID": "4",
"taskCompleteProjectStatus": "Production",
"taskConstraint": "Must Start On",
"taskID": null,*/
"taskName": "Management/Consulting",
/*"taskStatus": "Production",
"taxable": null,
"taxable2": null,
"timelineSegment": "PostProduction",
"trackBudget": null,
"workAnyDay": null,
"workTypeID": null,
"assignments": [
{
"action": null,
"aPlanComplete": null,
"aPlanStart": null,
"aDescription": "Assignment Description",
"detailActComplete": null,
"detailActStart": null,
"detailHours": "5",
"detailPercComp": null,
"detailReviewedByTraffic": null,
"detailServiceCode": "HTML",
"forceAPlanStartNull": null,
"manualAdjustment": null,
"userID": "tu"
}
],
"taskKey": null,
"comments": "Comments",*/
//"projectNumber": "24-BE-10166",
"projectNumber": "Oppty-789"
}
]);
console.log(result.errors);
})();