public class

VersionControl

extends BackdoorControl<T extends BackdoorControl<T>>
java.lang.Object
   ↳ com.atlassian.jira.testkit.client.RestApiClient<T extends com.atlassian.jira.testkit.client.RestApiClient<T>>
     ↳ com.atlassian.jira.testkit.client.BackdoorControl<T extends com.atlassian.jira.testkit.client.BackdoorControl<T>>
       ↳ com.atlassian.jira.functest.framework.backdoor.VersionControl

Class Overview

VersionControl for testing creating, releasing and unreleasing version.

Summary

[Expand]
Inherited Constants
From class com.atlassian.jira.testkit.client.BackdoorControl
From class com.atlassian.jira.testkit.client.RestApiClient
[Expand]
Inherited Fields
From class com.atlassian.jira.testkit.client.BackdoorControl
From class com.atlassian.jira.testkit.client.RestApiClient
Public Constructors
VersionControl(JIRAEnvironmentData environmentData)
Public Methods
Version createVersion(String name, String description, String projectKey)
void delete(Long versionId, String fixVersionSwapToSelf, String affectsVersionSwapSelf)
void deleteVersion(Long versionId)
void mergeVersion(Long fromVersionId, Long toVersionId2)
void moveVersion(Long versionId)
Version releaseVersion(Long versionId)
Version setDescription(Long versionId, String desc)
Version unreleaseVersion(Long versionId)
[Expand]
Inherited Methods
From class com.atlassian.jira.testkit.client.BackdoorControl
From class com.atlassian.jira.testkit.client.RestApiClient
From class java.lang.Object

Public Constructors

public VersionControl (JIRAEnvironmentData environmentData)

Public Methods

public Version createVersion (String name, String description, String projectKey)

public void delete (Long versionId, String fixVersionSwapToSelf, String affectsVersionSwapSelf)

public void deleteVersion (Long versionId)

public void mergeVersion (Long fromVersionId, Long toVersionId2)

public void moveVersion (Long versionId)

public Version releaseVersion (Long versionId)

public Version setDescription (Long versionId, String desc)

public Version unreleaseVersion (Long versionId)