com.atlassian.jira.functest.framework.admin.Project |
Known Indirect Subclasses |
Framework for manipulating projects
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a component to the project
| |||||||||||
Adds a project, or if a project with that name exists, does almost nothing.
| |||||||||||
Adds a version to a project.
| |||||||||||
Archives a version of a project.
| |||||||||||
Edits the workflow scheme draft of the given project.
| |||||||||||
Associates the specified configuration scheme with the project.
| |||||||||||
Associates the specified configuration scheme with the project.
| |||||||||||
Associates the specified notification scheme with the project.
| |||||||||||
Associates the specified workflow scheme with the project.
| |||||||||||
Associates the specified workflow scheme with the project.
| |||||||||||
Creates a draft workflow scheme of the project.
| |||||||||||
Delete project with the given name
| |||||||||||
Delete a project
| |||||||||||
Deletes a version of a project.
| |||||||||||
Edits a component of a project.
| |||||||||||
Change the parameters for the passed project.
| |||||||||||
Edits a version of a project.
| |||||||||||
Checks whether or not the specified project exists.
| |||||||||||
Publishes the workflow scheme draft of the specified project.
| |||||||||||
Releases a version of a project.
| |||||||||||
Sets the lead for a project
| |||||||||||
Unreleases a version of a project.
| |||||||||||
Waits for the asynchronous workflow migration to complete.
|
Adds a component to the project
projectKey | the key of the project |
---|---|
componentName | the component name |
description | the description; use null to not set one |
leadUserName | the lead user's name; use null to not set one |
Adds a project, or if a project with that name exists, does almost nothing. Choose a project name that will not clash with operational links on the page such as "View Projects" or "Add".
name | the name of the project. |
---|---|
key | the project key. |
lead | the username of the project lead. |
Adds a version to a project.
projectKey | the key of the project e.g. "HSP". |
---|---|
versionName | the name of the version e.g. "New Version 1" |
description | the new description of the version; use null to not provide a description |
releaseDate | the new release date of the version; use null to not provide a release date |
Archives a version of a project.
projectKey | the name of the project e.g. "HSP" |
---|---|
versionName | the name of the version e.g. "New Version 5" |
Edits the workflow scheme draft of the given project.
projectKey | the key of the project whose draft scheme will be edited |
---|---|
workflowName | name of the workflow to assign issue types to. |
issueTypeIds | issue types to assign. |
Associates the specified configuration scheme with the project.
projectName | the name of the project to alter |
---|---|
newFieldConfigurationSchemeName | the name of the new field configuration scheme; use null or
"None" to restore the System Default Field Configuration Scheme.
|
Associates the specified configuration scheme with the project.
projectName | the name of the project to alter |
---|---|
newIssueLevelSecuritySchemeName | the name of the new issue level security scheme; use null or
"None" to remove the scheme.
|
Associates the specified notification scheme with the project.
projectName | the name of the project to alter |
---|---|
notificationSchemeName | name of the notification scheme to associate. |
Associates the specified workflow scheme with the project.
projectName | the name of the project to alter |
---|---|
workflowSchemeName | name of the workflow scheme to associate. |
statusMapping | mapping for statuses |
Associates the specified workflow scheme with the project.
projectName | the name of the project to alter |
---|---|
workflowSchemeName | name of the workflow scheme to associate. |
Creates a draft workflow scheme of the project.
projectKey | the key of the project whose draft scheme will be created |
---|
Delete project with the given name
project | the project name. |
---|
Delete a project
projectId | the id of the project |
---|
Deletes a version of a project.
projectKey | the name of the project e.g. "HSP". Must not be null. |
---|---|
versionName | the name of the version e.g. "New Version 5". Must not be null. |
Edits a component of a project.
projectKey | the key of the project e.g. "HSP". |
---|---|
componentName | the name of the component e.g. "New Component 1" |
name | the new name of the component; use null to retain previous value |
description | the new description of the component; use null to retain previous value |
leadUserName | the new username of the component lead; use null to retain previous value |
Change the parameters for the passed project.
projectId | the id of the project to change. |
---|---|
name | the new name of the project. Set to null to keep current setting. |
description | the description of the project. Set to null to keep current setting. |
url | the url for the project. Set to null to keep current setting. |
Edits a version of a project.
projectName | the name of the project e.g. "homosapien". |
---|---|
versionName | the name of the version e.g. "New Version 1" |
name | the new name of the version; use null to retain previous value |
description | the new description of the version; use null to retain previous value |
releaseDate | the new release date of the version; use null to retain previous value |
Checks whether or not the specified project exists.
project | the name of the project to check e.g. "homosapien" |
---|
Publishes the workflow scheme draft of the specified project.
projectName | the name of the project to alter |
---|---|
statusMapping | mapping for statuses |
Releases a version of a project.
projectKey | the name of the project e.g. "HSP". Must not be null. |
---|---|
versionName | the name of the version e.g. "New Version 5". Must not be null. |
releaseDate | the release date of the version. Use null to ignore setting of this field. |
Sets the lead for a project
projectName | the project to change |
---|---|
userName | the new project lead |
Unreleases a version of a project.
projectKey | the name of the project e.g. "HSP". Must not be null. |
---|---|
versionName | the name of the version e.g. "New Version 5". Must not be null. |
releaseDate | the release date of the version. Use null to ignore setting of this field. |
Waits for the asynchronous workflow migration to complete.
sleepTime | The time to sleep before refreshing the page again and checking for the operation to be finished. |
---|---|
retryCount | The number of times we will try to check for the operation to be finished. |