Skip to content

Commit

Permalink
implemented get_custom_field().
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Jahnke committed Apr 11, 2011
1 parent c304f7d commit 88e8b1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -430,4 +430,8 @@ public function execute_command($issue_id, $command, $comment = NULL, $group = N
$r = $this->_request('POST', '/issue/'. urlencode($issue_id) .'/execute?'. http_build_query($params));
return 'Command executed';
}

public function get_custom_field($name) {
return new CustomField($this->_get('/admin/customfield/field/'. urlencode($name)));
}
}

0 comments on commit 88e8b1d

Please sign in to comment.