Skip to content

Commit fc5401b

Browse files
committed
added validateQuery parameter
1 parent f81322b commit fc5401b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Issue/IssueService.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,17 +335,19 @@ public function transition($issueIdOrKey, $transition)
335335
* @param int $maxResults
336336
* @param array $fields
337337
* @param array $expand
338+
* @param boolean $validateQuery
338339
*
339340
* @return IssueSearchResult
340341
*/
341-
public function search($jql, $startAt = 0, $maxResults = 15, $fields = [], $expand = [])
342+
public function search($jql, $startAt = 0, $maxResults = 15, $fields = [], $expand = [], $validateQuery = true)
342343
{
343344
$data = json_encode(array(
344345
'jql' => $jql,
345346
'startAt' => $startAt,
346347
'maxResults' => $maxResults,
347348
'fields' => $fields,
348349
'expand' => $expand,
350+
'validateQuery' => $validateQuery,
349351
));
350352

351353
$ret = $this->exec('search', $data, 'POST');

0 commit comments

Comments
 (0)