java.lang.Object | |||
↳ | com.atlassian.jira.functest.framework.AbstractFuncTestUtil | ||
↳ | com.atlassian.jira.functest.framework.AbstractNavigationUtil | ||
↳ | com.atlassian.jira.functest.framework.navigation.IssueNavigationImpl |
Navigate Issue functionality
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.jira.functest.framework.AbstractFuncTestUtil
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a comment on the given issue visible only to members the given role.
| |||||||||||
Adds a comment on the given issue, making it visible to all the users who can see the issue.
| |||||||||||
Add watchers to an issue.
| |||||||||||
Assign this issue to a different user.
| |||||||||||
Assign an issue to a user.
| |||||||||||
Returns a representation of the attachments block on the view issue page for a specific issue.
| |||||||||||
Closes an issue with the given resolution.
| |||||||||||
Creates a new issue for the given project and returns the created issue key
| |||||||||||
Creates a new issue for the given project and returns the created issue key
Assumes that the schemes are such that summary is the only required field
| |||||||||||
Creates a new sub task for the given parent issue and returns the created issue key
Assumes that the schemes are such that summary is the only required field.
| |||||||||||
Creates a new sub task for the given parent issue and returns the created issue key
Assumes that the schemes are such that summary is the only required field.
| |||||||||||
Deletes the specific issue.
| |||||||||||
Edit custom labels of the issue.
| |||||||||||
Go to edit labels of the issue.
| |||||||||||
Gets the id of an issue.
| |||||||||||
Goes to the create issue form.
| |||||||||||
Navigates to the Edit screen of a specific issue.
| |||||||||||
Navigates straight to the Edit screen of a specific issue, bypassing the View screen.
| |||||||||||
Navigates to the the issue provided
| |||||||||||
Navigates to the change history tab of the issue provided
| |||||||||||
Navigates to the work log tab of the issue provided
| |||||||||||
Logs work on the issue with the given key.
| |||||||||||
Log work against an issue
| |||||||||||
Logs work on the issue with the given key.
| |||||||||||
Performs given action on issue.
| |||||||||||
Reopens a resolved issue.
| |||||||||||
Resolves an issue with the given resolution.
| |||||||||||
Resolves an issue with the given resolution.
| |||||||||||
As of JIRA 6.0, issue pager is rendered client side.
| |||||||||||
Sets the given affects versions on the selected issue.
| |||||||||||
Sets the given components on the selected issue.
| |||||||||||
Sets the description field on the given issue.
| |||||||||||
Sets the due date for an issue to the date string passed in
| |||||||||||
Sets the environment field on the given issue.
| |||||||||||
Sets the original and remaining estimate on an issue and submits this change. | |||||||||||
Sets the given fix versions on the selected issue.
| |||||||||||
Sets the description field on the given issue.
| |||||||||||
Sets the multi-select field to the options
| |||||||||||
Sets the original estimate on an issue and submits this change. | |||||||||||
Sets the priority of the given issue
| |||||||||||
Sets the remaining estimate on an issue and submits this change. | |||||||||||
Un-assign an issue.
| |||||||||||
Unassign an issue.
| |||||||||||
Removes the user's vote for the issue.
| |||||||||||
Unwatches the issue for the current user.
| |||||||||||
Navigates to a specific issue.
| |||||||||||
Navigates to a specific issues printable view.
| |||||||||||
Navigates to a specific issue's XML view.
| |||||||||||
Add the user's vote for the issue
| |||||||||||
Starts watching an issue if not already watched.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[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.IssueNavigation | |||||||||||
From interface
com.atlassian.jira.testkit.client.log.FuncTestLogger
|
Adds a comment on the given issue visible only to members the given role.
issueKey | The issue key. |
---|---|
comment | The body of the comment to be added. |
roleLevel | role level; use null to not select any role level.
|
Adds a comment on the given issue, making it visible to all the users who can see the issue.
issueKey | The issue key. |
---|---|
comment | The body of the comment to be added. |
Add watchers to an issue.
issueKey | key of the issue |
---|---|
usernames | usernames of users to add as watchers |
Assign this issue to a different user.
issueKey | The issue key of the issue to be assigned. |
---|---|
comment | The comment to be added when assigning the specified issue. |
userFullName | the full name of the user this should be assigned to. |
Assign an issue to a user.
issueKey | The issue key of the issue to be assigned. |
---|---|
userFullName | The full name of the user the issue will be assigned to. |
comment | The comment to be added when assigning the specified issue. |
commentLevel | The group or role that will be able to view the specified comment. |
Returns a representation of the attachments block on the view issue page for a specific issue.
issueKey | the key of the issue. |
---|
AttachmentsBlock
for the provided issue
key.
Closes an issue with the given resolution.
issueKey | the issue key to resolve. |
---|---|
resolution | the name of the resolution. e.g. Fixed . Case sensitive! |
comment | a comment to add |
Creates a new issue for the given project and returns the created issue key
projectName | the project name - can be null and hence assume default |
---|---|
issueType | the issue type - can be null and hence assume default |
summary | a summary for the issue |
params | a map containing any optional params to add to the issue |
Creates a new issue for the given project and returns the created issue key
Assumes that the schemes are such that summary is the only required fieldprojectName | the project name - can be null and hence assume default |
---|---|
issueType | the issue type - can be null and hence assume default |
summary | a summary for the issue |
Creates a new sub task for the given parent issue and returns the created issue key
Assumes that the schemes are such that summary is the only required field. Note: if sub tasks are not enabled, they will be enabled before attempting to create the sub task.parentIssueKey | the parent issue |
---|---|
subTaskType | the sub task type |
subTaskSummary | the summary |
subTaskDescription | the description; use null to omit this field |
Creates a new sub task for the given parent issue and returns the created issue key
Assumes that the schemes are such that summary is the only required field. Note: if sub tasks are not enabled, they will be enabled before attempting to create the sub task.parentIssueKey | the parent issue |
---|---|
subTaskType | the sub task type |
subTaskSummary | the summary |
subTaskDescription | the description; use null to omit this field |
originalEstimate | original estimate for time tracking field; may be left null |
Edit custom labels of the issue.
issueId | ID of the issue |
---|---|
customFieldId | ID of the labels custom field |
Go to edit labels of the issue.
issueId | Id of the issue |
---|
Gets the id of an issue.
issueKey | The key of the issue in play. |
---|
String
containing the issue's id.
Goes to the create issue form.
projectName | The project for the issue to be created in the form. |
---|---|
issueType | The issue type for the issue to be created in the form. |
Navigates to the Edit screen of a specific issue.
issueKey | key of issue |
---|
Navigates straight to the Edit screen of a specific issue, bypassing the View screen.
issueId | id of issue |
---|
Navigates to the the issue provided
issueKey | The issuekey to navigate to. |
---|
Navigates to the change history tab of the issue provided
issueKey | The issuekey to navigate to. |
---|
Navigates to the work log tab of the issue provided
issueKey | The issuekey to navigate to. |
---|
Logs work on the issue with the given key.
issueKey | the key of the issue to log work on. |
---|---|
timeLogged | formatted time spent e.g. 1h 30m. |
newEstimate | formatted new estimate e.g. 1d 2h. |
Log work against an issue
issueKey | the issue to work against |
---|---|
timeLogged | the duration string (i.e. "2h") representing the work don |
Logs work on the issue with the given key.
issueKey | the key of the issue to log work on. |
---|---|
timeLogged | formatted time spent e.g. 1h 30m. |
comment | comment to add while logging the work |
Performs given action on issue. Action need not have any dialog (like comment, set resolution field etc).
issueKey | the issue key to reopen. |
---|
Reopens a resolved issue.
issueKey | the issue key to reopen. |
---|
Resolves an issue with the given resolution.
issueKey | the issue key to resolve. |
---|---|
resolution | the name of the resolution. e.g. Fixed . Case sensitive! |
comment | a comment to add |
Resolves an issue with the given resolution.
NOTE:This method assumes time tracking is enabled
issueKey | the issue key to resolve. |
---|---|
resolution | the name of the resolution. e.g. Fixed . Case sensitive! |
comment | a comment to add |
originalEstimate | The value to set as the original estimate. |
remainingEstimate | The value to set as the remaining estimate. |
As of JIRA 6.0, issue pager is rendered client side. It is no longer possible to generate these issue pagers on page request and thus it is not possible to have this return-to-search link on the page. This method will simply navigate to issue navigator with jql="". You can either use the mentioned behaviour or either re-execute the search with the wanted JQL
Sets the given affects versions on the selected issue.
issueKey | issue key |
---|---|
affectsVersions | the names of the versions e.g. New Version 4
|
Sets the given components on the selected issue.
issueKey | issue key |
---|---|
components | components |
Sets the description field on the given issue.
issueKey | issue key |
---|---|
description | the text |
Sets the due date for an issue to the date string passed in
Sets the environment field on the given issue.
issueKey | issue key |
---|---|
environment | the text |
Sets the original and remaining estimate on an issue and submits this change.
NOTE:This method assumes time tracking is enabled
issueKey | The issue that the remaining estimate will be set on. |
---|---|
originalEstimate | The value to set as the original estimate. |
remainingEstimate | The value to set as the remaining estimate. |
Sets the given fix versions on the selected issue.
issueKey | issue key |
---|---|
fixVersions | the names of the versions e.g. New Version 4
|
Sets the description field on the given issue.
issueKey | issue key |
---|---|
customFieldId | the id of the custom field to set e.g. customfield_10000 |
text | the text |
Sets the multi-select field to the options
issueKey | issue key |
---|---|
selectName | the id of the field e.g. customfield_10000 |
options | the named options, not the values |
Sets the original estimate on an issue and submits this change.
NOTE:This method assumes time tracking is enabled
issueKey | The issue that the original estimate will be set on. |
---|---|
newValue | The value to set as the original estimate. |
Sets the priority of the given issue
issueKey | issue key |
---|---|
priority | the Displayed priority value |
Sets the remaining estimate on an issue and submits this change.
NOTE:This method assumes time tracking is enabled
issueKey | The issue that the remaining estimate will be set on. |
---|---|
newValue | The value to set as the remaining estimate. |
Un-assign an issue. Note: assumes un-assigned issues are allowed.
issueKey | The issue key of the issue to be un-assigned. |
---|---|
comment | The comment to be added when un-assigning the specified issue. |
commentLevel | The group or role that will be able to view the specified comment. |
Unassign an issue. Note: assumes unassigned issues are allowed.
issueKey | The issue key of the issue to be un-assigned. |
---|---|
comment | The comment to be added when un-assigning the specified issue. |
Removes the user's vote for the issue. Note: you can only remove your vote for an issue if it is not resolved.
issueKey | the issue key |
---|
Unwatches the issue for the current user.
issueKey | the issue key |
---|
Navigates to a specific issue.
issueKey | key of issue |
---|
Navigates to a specific issues printable view.
issueKey | key of issue |
---|
Navigates to a specific issue's XML view.
issueKey | key of issue |
---|
Add the user's vote for the issue
issueKey | the issue key |
---|
Starts watching an issue if not already watched.
issueKey | the issue to watch |
---|