File tree Expand file tree Collapse file tree 1 file changed +38
-15
lines changed Expand file tree Collapse file tree 1 file changed +38
-15
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ public function __construct($updateIssue = false)
14
14
$ this ->versions = array ();
15
15
16
16
$ this ->issuetype = new \JiraRestApi \Issue \IssueType ();
17
- $ this ->timetracking = new \JiraRestApi \Issue \TimeTracking ();
18
17
}
19
18
}
20
19
@@ -128,31 +127,27 @@ public function addLabel($label)
128
127
return $ this ;
129
128
}
130
129
131
- public function setIssueType ($ issuetype )
130
+ public function setIssueType ($ name )
132
131
{
133
- $ this ->issuetype = $ issuetype ;
132
+ if (is_null ($ this ->issuetype )) {
133
+ $ this ->issuetype = new \JiraRestApi \Issue \IssueType ();
134
+ }
135
+
136
+ $ this ->issuetype ->name = $ name ;
137
+
134
138
return $ this ;
135
139
}
140
+
136
141
public function getIssueType ()
137
142
{
138
143
return $ this ->issuetype ;
139
144
}
140
145
141
- public function setTimeTracking ($ timetracking )
142
- {
143
- $ this ->timetracking = $ timetracking ;
144
- return $ this ;
145
- }
146
- public function getTimeTracking ()
147
- {
148
- return $ this ->timetracking ;
149
- }
150
-
151
146
/** @var string */
152
147
public $ summary ;
153
148
154
- /** @var string */
155
- // public $progress;
149
+ /** @var array */
150
+ public $ progress ;
156
151
157
152
/** @var Timetracking */
158
153
public $ timetracking ;
@@ -231,4 +226,32 @@ public function getTimeTracking()
231
226
232
227
/** @var string */
233
228
public $ aggregatetimeoriginalestimate ;
229
+
230
+ /** @var string */
231
+ public $ resolutiondate ;
232
+
233
+ /** @var DateTime */
234
+ public $ duedate ;
235
+
236
+ /** @var object[] */
237
+ public $ issuelinks ;
238
+
239
+ /** @var object[] */
240
+ public $ subtasks ;
241
+
242
+ /** @var int */
243
+ public $ workratio ;
244
+
245
+ /** @var object */
246
+ public $ aggregatetimeestimate ;
247
+
248
+ /** @var object */
249
+ public $ aggregateprogress ;
250
+
251
+ /** @var object */
252
+ public $ lastViewed ;
253
+
254
+ /** @var object */
255
+ public $ timeoriginalestimate ;
256
+
234
257
}
You can’t perform that action at this time.
0 commit comments