com.atlassian.jira.rest.v1.issues
Class IssuePickerResource

java.lang.Object
  extended by com.atlassian.jira.rest.v1.issues.IssuePickerResource

public class IssuePickerResource
extends Object

Rest end point for IssuePicker searching

Since:
v4.0

Nested Class Summary
static class IssuePickerResource.IssuePickerIssue
           
static class IssuePickerResource.IssuePickerResultsWrapper
           
static class IssuePickerResource.IssueSection
           
 
Constructor Summary
IssuePickerResource(JiraAuthenticationContext authContext, ContextI18n i18nHelper, IssuePickerSearchService service, IssueManager issueManager, ApplicationProperties applicationProperties, ProjectManager projectManager)
           
 
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
 

Constructor Detail

IssuePickerResource

public IssuePickerResource(JiraAuthenticationContext authContext,
                           ContextI18n i18nHelper,
                           IssuePickerSearchService service,
                           IssueManager issueManager,
                           ApplicationProperties applicationProperties,
                           ProjectManager projectManager)
Method Detail

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 on
currentJQL - the JQL of the current Search.
currentIssueKey - the current issue or null
currentProjectId - the current project id or null
showSubTasks - set to false if sub tasks should be greyed out
showSubTaskParent - set to false to have parent issue greyed out
Returns:
A list of IssuePickerResource.IssueSection containing matching issues

getContext

protected JiraServiceContext getContext()


Copyright © 2002-2013 Atlassian. All Rights Reserved.