com.atlassian.jira.rest.v1.issues
Class IssuePickerResource
java.lang.Object
com.atlassian.jira.rest.v1.issues.IssuePickerResource
public class IssuePickerResource
- extends Object
Rest end point for IssuePicker searching
- Since:
- v4.0
Method Summary |
protected JiraServiceContext |
getContext()
|
IssuePickerResource.IssuePickerResultsWrapper |
getIssues(String query,
String currentJQL,
String currentIssueKey,
String currentProjectId,
boolean showSubTasks,
boolean showSubTaskParent)
This is the AJAX entry point to find issues given a query string. |
javax.ws.rs.core.Response |
getIssuesResponse(String query,
String currentJQL,
String currentIssueKey,
String currentProjectId,
boolean showSubTasks,
boolean showSubTaskParent)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IssuePickerResource
public IssuePickerResource(JiraAuthenticationContext authContext,
I18nHelper.BeanFactory i18nBeanFactory,
IssuePickerSearchService service,
IssueManager issueManager,
ApplicationProperties applicationProperties,
ProjectManager projectManager)
getIssuesResponse
public javax.ws.rs.core.Response getIssuesResponse(String query,
String currentJQL,
String currentIssueKey,
String currentProjectId,
boolean showSubTasks,
boolean showSubTaskParent)
getIssues
public IssuePickerResource.IssuePickerResultsWrapper getIssues(String query,
String currentJQL,
String currentIssueKey,
String currentProjectId,
boolean showSubTasks,
boolean showSubTaskParent)
- This is the AJAX entry point to find issues given a query string. The particluar instance of this call can "grey out" issues
by providing extra filterer parameters.
- Parameters:
query
- what the user type in to search oncurrentJQL
- the JQL of the current Search.currentIssueKey
- the current issue or nullcurrentProjectId
- the current project id or nullshowSubTasks
- set to false if sub tasks should be greyed outshowSubTaskParent
- set to false to have parent issue greyed out
- Returns:
- A list of
IssuePickerResource.IssueSection
containing matching issues
getContext
protected JiraServiceContext getContext()
Copyright © 2002-2012 Atlassian. All Rights Reserved.