public class

IssueNavigatorNavigationImpl

extends AbstractNavigationUtil
implements IssueNavigatorNavigation
java.lang.Object
   ↳ com.atlassian.jira.functest.framework.AbstractFuncTestUtil
     ↳ com.atlassian.jira.functest.framework.AbstractNavigationUtil
       ↳ com.atlassian.jira.functest.framework.navigation.IssueNavigatorNavigationImpl

This class is deprecated.
since JIRA 6.2. Since the replacement of the issue navigator by KickAss, the use of this class is unpredictable.

Class Overview

Navigate Issue Navigation functionality.

Summary

Fields
protected Backdoor backdoor
[Expand]
Inherited Fields
From class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
Public Constructors
IssueNavigatorNavigationImpl(WebTester tester, JIRAEnvironmentData environmentData)
Public Methods
void addColumnToIssueNavigator(String[] fieldNames)
Adds the extra columns to the Issue Navigator
BulkChangeWizard bulkChange(IssueNavigatorNavigation.BulkChangeOption bulkChangeOption)
Initiate the bulk change wizard on the current search results.
void bulkEditAllIssues()
void clickEditModeFlipLink()
Clicks the link that flips between simple and advanced navigator edit modes.
void configureColumns()
void createFilter(String jql)
long createNewAndSaveAsFilter(SharedEntityInfo info, NavigatorSearch search)
Create and save the passed search.
IssueNavigatorNavigation createSearch(String jqlQuery)
Switches the navigator into Advanced mode, and then executes the specified JQL query.
void createSearch(NavigatorSearch search)
This method is deprecated. does nothing.
void deleteFilter(long id)
Delete the listed filter.
void displayAllIssues()
This method is deprecated. works the same as gotoNavigator().
void displayFullContentAllIssues()
void displayPrintableAllIssues()
void displayRssAllComments()
void displayRssAllIssues()
void displayXmlAllIssues()
void editFilter(long id)
void expandAllNavigatorSections()
Expand all of the navigator sections.
void expandNavigatorSection(String sectionId)
Expand the passed navigator section.
IssueNavigatorNavigation.NavigatorEditMode getCurrentEditMode()
Returns the edit mode that issue navigator is in.
IssueNavigatorNavigation.NavigatorMode getCurrentMode()
Returns the mode that issue navigator is currently in.
void goToConfigureColumns()
Go to the configure columns screen.
void gotoEditMode(IssueNavigatorNavigation.NavigatorEditMode editMode)
This method is deprecated. works the same as gotoNavigator().
IssueNavigatorNavigation.NavigatorMode gotoEditOrNewMode(IssueNavigatorNavigation.NavigatorEditMode mode)
Switch to the passed edit mode in navigator.
void gotoNavigator()
Goes to the navigation section, or, if already in the section, does nothing.
void gotoNewMode(IssueNavigatorNavigation.NavigatorEditMode navigatorEditMode)
This method is deprecated. works the same as gotoNavigator().
void gotoViewMode()
This method is deprecated. works the same as gotoNavigator()
void loadFilter(long id)
Loads a filter in the issue navigator in summary mode.
void loadFilterAndAssert(long id)
Loads a filter in the issue navigator in edit mode.
void modifySearch(NavigatorSearch search)
This method is deprecated. does nothing.
void restoreColumnDefaults()
Restore the default columns in the Issue Navigator.
IssueSearchPage runPrintableSearch(String jqlQuery)
IssueSearchPage runSearch(String jqlQuery)
void runSearch()
Run the current search.
List<String> runSimpleSearch(String jqlQuery)
Safely run a search, ignoring errors and returning only the matching issue keys in the order that they were returned.
void runXmlSearch(String jqlQuery, String... fields)
long saveCurrentAsNewFilter(String name, String description, boolean favourite, Set<? extends TestSharingPermission> permissions)
Save current search as new filter.
long saveCurrentAsNewFilter(SharedEntityInfo info)
Save the current search and new filter.
long saveCurrentFilter()
Save the current filter.
void sortIssues(String field, String direction)
Sort the Issues in the navigator
[Expand]
Inherited Methods
From class com.atlassian.jira.functest.framework.AbstractNavigationUtil
From class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
From class java.lang.Object
From interface com.atlassian.jira.functest.framework.navigation.IssueNavigatorNavigation
From interface com.atlassian.jira.testkit.client.log.FuncTestLogger

Fields

protected Backdoor backdoor

Public Constructors

public IssueNavigatorNavigationImpl (WebTester tester, JIRAEnvironmentData environmentData)

Public Methods

public void addColumnToIssueNavigator (String[] fieldNames)

Adds the extra columns to the Issue Navigator

Parameters
fieldNames The name of the field to be added as columns to the issue navigator.

public BulkChangeWizard bulkChange (IssueNavigatorNavigation.BulkChangeOption bulkChangeOption)

Initiate the bulk change wizard on the current search results.

Parameters
bulkChangeOption whether to bulk change all results or just the current page.
Returns
  • an instance of the bulk change wizard which will be used to step through the wizard.

public void bulkEditAllIssues ()

public void clickEditModeFlipLink ()

Clicks the link that flips between simple and advanced navigator edit modes. Assumes we are currently "editing" a filer.

public void configureColumns ()

public void createFilter (String jql)

public long createNewAndSaveAsFilter (SharedEntityInfo info, NavigatorSearch search)

Create and save the passed search.

Parameters
info the details of the search to create and save.
search the search to create and save.
Returns
  • the id of the search just created.

public IssueNavigatorNavigation createSearch (String jqlQuery)

Switches the navigator into Advanced mode, and then executes the specified JQL query.

Parameters
jqlQuery the query to be executed
Returns
  • this object

public void createSearch (NavigatorSearch search)

This method is deprecated.
does nothing.

Create a search with the passed parameters.

Parameters
search the search to create.

public void deleteFilter (long id)

Delete the listed filter.

Parameters
id the id of the filter to delete.

public void displayAllIssues ()

This method is deprecated.
works the same as gotoNavigator().

Executes quicksearch with no search string to return all issues

public void displayFullContentAllIssues ()

public void displayPrintableAllIssues ()

public void displayRssAllComments ()

public void displayRssAllIssues ()

public void displayXmlAllIssues ()

public void editFilter (long id)

public void expandAllNavigatorSections ()

Expand all of the navigator sections.

public void expandNavigatorSection (String sectionId)

Expand the passed navigator section.

Parameters
sectionId the section to expand.

public IssueNavigatorNavigation.NavigatorEditMode getCurrentEditMode ()

Returns the edit mode that issue navigator is in.

Returns
  • the edit mode that issue navigator is in. Null if we can't work it out.

public IssueNavigatorNavigation.NavigatorMode getCurrentMode ()

Returns the mode that issue navigator is currently in.

Returns
  • the mode that issue navigator is currently in. Null if we can't work it out.

public void goToConfigureColumns ()

Go to the configure columns screen.

public void gotoEditMode (IssueNavigatorNavigation.NavigatorEditMode editMode)

This method is deprecated.
works the same as gotoNavigator().

Switch the navigator into Edit mode. The mode of the edit can be specified in the passed argument.

Parameters
editMode the mode to load the navigator into. Null indicates that we should goto the current mode.

public IssueNavigatorNavigation.NavigatorMode gotoEditOrNewMode (IssueNavigatorNavigation.NavigatorEditMode mode)

Switch to the passed edit mode in navigator. If there is a current search it will move into EDIT. If there is not current search it will move into NEW.

Parameters
mode the edit mode to switch into.
Returns
  • the mode navigator switched into.

public void gotoNavigator ()

Goes to the navigation section, or, if already in the section, does nothing.

public void gotoNewMode (IssueNavigatorNavigation.NavigatorEditMode navigatorEditMode)

This method is deprecated.
works the same as gotoNavigator().

Switch the navigator into New mode.

Parameters
navigatorEditMode the editing mode to go into; may be null to use current.

public void gotoViewMode ()

This method is deprecated.
works the same as gotoNavigator()

Switch the navigator into View mode.

public void loadFilter (long id)

Loads a filter in the issue navigator in summary mode.

Parameters
id The id of the filter to load.

public void loadFilterAndAssert (long id)

Loads a filter in the issue navigator in edit mode.

Parameters
id the id of the filter to load.

public void modifySearch (NavigatorSearch search)

This method is deprecated.
does nothing.

Modify the current search.

Parameters
search make the current search look like this.

public void restoreColumnDefaults ()

Restore the default columns in the Issue Navigator.

public IssueSearchPage runPrintableSearch (String jqlQuery)

public IssueSearchPage runSearch (String jqlQuery)

public void runSearch ()

Run the current search.

public List<String> runSimpleSearch (String jqlQuery)

Safely run a search, ignoring errors and returning only the matching issue keys in the order that they were returned.

Parameters
jqlQuery the JQL query to run
Returns
  • the list of values returned (never null)

public void runXmlSearch (String jqlQuery, String... fields)

public long saveCurrentAsNewFilter (String name, String description, boolean favourite, Set<? extends TestSharingPermission> permissions)

Save current search as new filter.

Parameters
name name of the search.
description of the search.
favourite should the search going to be saved as a favourite?
permissions the share permissions to associate with the current search.
Returns
  • the id of the search just created.

public long saveCurrentAsNewFilter (SharedEntityInfo info)

Save the current search and new filter.

Parameters
info information used to save the search.
Returns
  • the id of the search just created.

public long saveCurrentFilter ()

Save the current filter.

Returns
  • the id of the search just saved.

public void sortIssues (String field, String direction)

Sort the Issues in the navigator

Parameters
field The name of the field that should be used to sort the issues.
direction a String representing the sorting direction. The allowed values are "ASC" or "DESC".