15
15
16
16
2 . Next, run the Composer command to install the latest version of php jira rest client.
17
17
``` sh
18
- php composer.phar require lesstif/php-jira-rest-client dev-master
18
+ php composer.phar require lesstif/php-jira-rest-client "~1.6"
19
19
```
20
20
or add the following to your composer.json file.
21
21
```json
22
22
{
23
23
"require": {
24
- "lesstif/php-jira-rest-client": "dev-master "
24
+ "lesstif/php-jira-rest-client": "~1.6 "
25
25
}
26
26
}
27
27
```
84
84
} catch (JIRAException $e) {
85
85
print("Error Occured! " . $e->getMessage());
86
86
}
87
- ?>
87
+
88
88
````
89
89
90
90
## Get All Project list
@@ -108,7 +108,7 @@ try {
108
108
} catch (JIRAException $e) {
109
109
print("Error Occured! " . $e->getMessage());
110
110
}
111
- ?>
111
+
112
112
````
113
113
114
114
## Get Issue Info
@@ -128,7 +128,6 @@ try {
128
128
print("Error Occured! " . $e->getMessage());
129
129
}
130
130
131
- ?>
132
131
````
133
132
134
133
## Create Issue
@@ -160,7 +159,6 @@ try {
160
159
print("Error Occured! " . $e->getMessage());
161
160
}
162
161
163
- ?>
164
162
````
165
163
166
164
## Add Attachment
@@ -186,7 +184,6 @@ try {
186
184
$this->assertTrue(FALSE, "Attach Failed : " . $e->getMessage());
187
185
}
188
186
189
- ?>
190
187
````
191
188
192
189
## Update issue
@@ -221,7 +218,6 @@ try {
221
218
$this->assertTrue(FALSE, "update Failed : " . $e->getMessage());
222
219
}
223
220
224
- ?>
225
221
````
226
222
227
223
## Add comment
@@ -258,7 +254,6 @@ COMMENT;
258
254
$this->assertTrue(FALSE, "add Comment Failed : " . $e->getMessage());
259
255
}
260
256
261
- ?>
262
257
````
263
258
264
259
## Perform a transition on an issue
@@ -284,7 +279,6 @@ try {
284
279
$this->assertTrue(FALSE, "add Comment Failed : " . $e->getMessage());
285
280
}
286
281
287
- ?>
288
282
````
289
283
290
284
## Perform an advanced search
@@ -305,7 +299,7 @@ try {
305
299
} catch (JIRAException $e) {
306
300
$this->assertTrue(false, 'testSearch Failed : '.$e->getMessage());
307
301
}
308
- ?>
302
+
309
303
````
310
304
311
305
## Issue time tracking
@@ -337,7 +331,7 @@ try {
337
331
} catch (JIRAException $e) {
338
332
$this->assertTrue(false, 'testSearch Failed : '.$e->getMessage());
339
333
}
340
- ?>
334
+
341
335
````
342
336
343
337
## Issue worklog
@@ -359,7 +353,7 @@ try {
359
353
} catch (JIRAException $e) {
360
354
$this->assertTrue(false, 'testSearch Failed : '.$e->getMessage());
361
355
}
362
- ?>
356
+
363
357
````
364
358
365
359
# License
0 commit comments