java.lang.Object | |
↳ | com.atlassian.jira.functest.framework.navigation.AbstractBulkChangeWizard |
Known Direct Subclasses |
Abstract implementation of the BulkChangeWizard
. Defines the state and operations of the wizard. Specific
details on how to drive the wizard are supplied by the implementations for func tests and selenium tests.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | BULK_EDIT_KEY | ||||||||||
String | SAME_FOR_ALL | ||||||||||
String | TARGET_PROJECT_ID | ||||||||||
String | TARGET_PROJECT_ID_TEMPLATE |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Cancels the wizard.
| |||||||||||
Check the "Action" checkbox for the chosen field.
| |||||||||||
Check the "Retain" checkbox for the chosen field.
| |||||||||||
Select the bulk operation to perform.
| |||||||||||
Chooses the target project for all issues to be moved to.
| |||||||||||
Chooses the target project to be moved to for each of the issue types to be moved.
| |||||||||||
Select the workflow transition to perform.
| |||||||||||
Completes the wizard and performs the bulk operation.
| |||||||||||
Completes the entering of fields in this screen.
| |||||||||||
Returns the current state of the wizard.
| |||||||||||
Reverts the wizard to any given previous stage.
| |||||||||||
Selects all issues from the last search to operate on.
| |||||||||||
Set a value for a field.
| |||||||||||
Set a value for a field.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface com.atlassian.jira.functest.framework.navigation.BulkChangeWizard |
Check the "Action" checkbox for the chosen field.
Wizard must be inEDIT
, SET_FIELDS
to perform this operation.
Note: wizard does not advance after this operation; multiple calls to this method can be made. Once finished, call
finaliseFields()
.fieldName | the name of the field |
---|
Check the "Retain" checkbox for the chosen field.
Wizard must be inMOVE
, SET_FIELDS
to perform this operation.
Note: wizard does not advance after this operation; multiple calls to this method can be made. Once finished, call
finaliseFields()
.fieldName | the name of the field |
---|
Select the bulk operation to perform.
Wizard must be inCHOOSE_OPERATION
to perform this operation.
Once selected, the wizard will advance to CHOOSE_TARGET_CONTEXTS
.operation | the operation to perform |
---|
Chooses the target project for all issues to be moved to. The target issue type will remain as the default selected item. This target context will apply to all issues being moved.
WARN: note that this only currently works when you are moving issues from Homosapien project, and when that is the only source project context offered on the page. Wizard must be inMOVE
, CHOOSE_TARGET_CONTEXTS
to
perform this operation.
Once selected, the wizard will advance to SET_FIELDS
.projectName | the name of the project to use in the target context e.g. monkey |
---|
Chooses the target project to be moved to for each of the issue types to be moved. This target context will apply to all issues being moved, preserving issue types mapping.
WARN: note that this only currently works when you are moving issues from Homosapien project, and when that is the only source project context offered on the page. Wizard must be inMOVE
, CHOOSE_TARGET_CONTEXTS
to
perform this operation.
Once selected, the wizard will advance to SET_FIELDS
.numContextsToSelect | the expected number of contexts to be set. |
---|---|
projectName | the name of the project to use in the target context e.g. monkey |
Select the workflow transition to perform.
Wizard must be inCHOOSE_OPERATION
to perform this operation.
Once selected, the wizard will advanceCompletes the wizard and performs the bulk operation.
Wizard must be inCONFIRMATION
to perform this operation.
Once performed, the wizard will advance to COMPLETE
. There is no further
state to advance to after this. This wizard instance should not be used again.Completes the entering of fields in this screen.
Wizard must be inSET_FIELDS
to perform this operation.
If there are more field screens to complete, the wizard will remain in SET_FIELDS
.
Otherwise, it will advance to CONFIRMATION
.Returns the current state of the wizard.
Reverts the wizard to any given previous stage.
Wizard must be in any state that is further than the requested state. Once performed, wizard will revert to the desired state.Selects all issues from the last search to operate on.
Wizard must be inSELECT_ISSUES
to perform this operation.
Once selected, the wizard will advance to CHOOSE_OPERATION
.Set a value for a field. It is assumed that the field is settable via text input.
Wizard must be inSET_FIELDS
to perform this operation.
Note: wizard does not advance after this operation; multiple calls to this method can be made. Once finished, call
finaliseFields()
.fieldName | the name of the field to set e.g. components , timetracking_originalestimate |
---|---|
value | the value to set e.g. 10000 , 5h |
Set a value for a field.
Wizard must be inSET_FIELDS
to perform this operation.
Note: wizard does not advance after this operation; multiple calls to this method can be made. Once finished, call
finaliseFields()
.inputType | the type of control you are using to set the field value |
---|---|
fieldName | the name of the field to set e.g. components , timetracking_originalestimate |
value | the value to set e.g. 10000 , 5h |