public interface

IssueNavigatorNavigation

com.atlassian.jira.functest.framework.navigation.IssueNavigatorNavigation
Known Indirect Subclasses

This interface 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 issueNavigator functionality

Summary

Nested Classes
enum IssueNavigatorNavigation.BulkChangeOption Options for performing a bulk change on the current search results. 
enum IssueNavigatorNavigation.NavigatorEditMode The edit mode for the navigator. 
enum IssueNavigatorNavigation.NavigatorMode The modes that navigator may be in. 
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)
Create a search with the passed parameters.
void deleteFilter(long id)
Delete the listed filter.
void displayAllIssues()
Runs a search on all issues.
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 mode)
Switch the navigator into Edit mode.
IssueNavigatorNavigation.NavigatorMode gotoEditOrNewMode(IssueNavigatorNavigation.NavigatorEditMode mode)
Switch to the passed edit mode in navigator.
void gotoNavigator()
Navigators to the issue navigation
void gotoNewMode(IssueNavigatorNavigation.NavigatorEditMode navigatorEditMode)
Switch the navigator into New mode.
void gotoViewMode()
Switch the navigator into View mode.
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)
Modify the current search.
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

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)

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 ()

Runs a search on 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 mode)

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

Parameters
mode 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 ()

Navigators to the issue navigation

public void gotoNewMode (IssueNavigatorNavigation.NavigatorEditMode navigatorEditMode)

Switch the navigator into New mode.

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

public void gotoViewMode ()

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)

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".