public interface RubyIssueService extends ServerComponent
Reference from Ruby code : Api.issues
| Modifier and Type | Method and Description |
|---|---|
IssueQueryResult |
find(Map<String,Object> parameters)
Search for issues.
|
IssueQueryResult |
find(String issueKey)
Search for an issue by its key.
|
IssueQueryResult find(String issueKey)
result = Api.issues.find('ABCDE-12345')IssueQueryResult find(Map<String,Object> parameters)
Api.issues.find({'statuses' => ['OPEN', 'RESOLVED'], 'assignees' => 'john,carla')}
Keys of parameters must be Ruby strings but not symbols. Multi-value parameters can be arrays (['OPEN', 'RESOLVED']) or
comma-separated list of strings ('OPEN,RESOLVED').
Optional parameters are:
SeverityIssueIssueIssueQuery.DEFAULT_PAGE_SIZE,
except when the parameter 'components' is set. In this case there's no limit by default (all results in the same page).IssueQueryCopyright © 2009-2014 SonarSource. All Rights Reserved.