public class DeploymentVersionLinkedJiraIssuesServiceImpl extends Object implements DeploymentVersionLinkedJiraIssuesService
Constructor and Description |
---|
DeploymentVersionLinkedJiraIssuesServiceImpl() |
Modifier and Type | Method and Description |
---|---|
List<DeploymentVersionLinkedJiraIssue> |
compareVersionsByJiraIssues(long deploymentProjectId,
DeploymentVersion version1,
DeploymentVersion version2)
Get JIRA issue links for comparing two versions, i.e.
|
Set<String> |
getIssuesChangedForDeploymentResult(long deploymentResultId)
Finds issue keys for given deployment result
Returns empty list if status of result build is unknown or if this and previous status is failed.
|
int |
getJiraIssueCountForDeploymentVersion(long deploymentVersionId)
Get count of all JIRA issues associated with
DeploymentVersion |
Set<String> |
getJiraIssueKeysForDeploymentVersion(long deploymentVersionId)
Get keys of all JIRA issues associated with a
DeploymentVersion |
Set<String> |
getJiraIssueKeysForProject(long deploymentProjectId)
Get keys of all JIRA issues associated with a
DeploymentProject |
List<DeploymentVersionLinkedJiraIssue> |
getJiraIssuesForDeploymentVersion(long deploymentVersionId)
DeploymentVersionEventListener
Get all JIRA issues associated with
DeploymentVersion |
SortedMap<String,DeploymentVersionLinkedJiraIssue> |
getJiraIssuesForDeploymentVersionsMap(long deploymentVersionId)
Get all JIRA issues associated with
DeploymentVersion as mapping between issue key and DeploymentVersionLinkedJiraIssue |
List<InternalLinkedJiraIssue> |
getJiraIssuesForNewDeploymentVersion(long deploymentProjectId,
PlanResultKey planResultKey)
Finds the relevant jira issues if a new version would be created from planResultKey.
|
List<InternalLinkedJiraIssue> |
getJiraIssuesForNewDeploymentVersion(long deploymentProjectId,
PlanResultKey planResultKey,
DeploymentVersion previousVersion)
Same as above, but gets all issues between a specific version and the planResultKey.
|
public DeploymentVersionLinkedJiraIssuesServiceImpl()
public List<DeploymentVersionLinkedJiraIssue> getJiraIssuesForDeploymentVersion(long deploymentVersionId)
DeploymentVersionLinkedJiraIssuesService
DeploymentVersion
getJiraIssuesForDeploymentVersion
in interface DeploymentVersionLinkedJiraIssuesService
public int getJiraIssueCountForDeploymentVersion(long deploymentVersionId)
DeploymentVersionLinkedJiraIssuesService
DeploymentVersion
getJiraIssueCountForDeploymentVersion
in interface DeploymentVersionLinkedJiraIssuesService
deploymentVersionId
- id of the versionDeploymentVersion
public SortedMap<String,DeploymentVersionLinkedJiraIssue> getJiraIssuesForDeploymentVersionsMap(long deploymentVersionId)
DeploymentVersionLinkedJiraIssuesService
DeploymentVersion
as mapping between issue key and DeploymentVersionLinkedJiraIssue
getJiraIssuesForDeploymentVersionsMap
in interface DeploymentVersionLinkedJiraIssuesService
public Set<String> getJiraIssueKeysForDeploymentVersion(long deploymentVersionId)
DeploymentVersionLinkedJiraIssuesService
DeploymentVersion
getJiraIssueKeysForDeploymentVersion
in interface DeploymentVersionLinkedJiraIssuesService
public Set<String> getIssuesChangedForDeploymentResult(long deploymentResultId)
DeploymentVersionLinkedJiraIssuesService
getIssuesChangedForDeploymentResult
in interface DeploymentVersionLinkedJiraIssuesService
public Set<String> getJiraIssueKeysForProject(long deploymentProjectId)
DeploymentVersionLinkedJiraIssuesService
DeploymentProject
getJiraIssueKeysForProject
in interface DeploymentVersionLinkedJiraIssuesService
public List<DeploymentVersionLinkedJiraIssue> compareVersionsByJiraIssues(long deploymentProjectId, @NotNull DeploymentVersion version1, @NotNull DeploymentVersion version2)
DeploymentVersionLinkedJiraIssuesService
compareVersionsByJiraIssues
in interface DeploymentVersionLinkedJiraIssuesService
version1
- 1st version to compare (may be older or newer than version2)version2
- 2nd version to compare (may be older or newer than version1)@NotNull public List<InternalLinkedJiraIssue> getJiraIssuesForNewDeploymentVersion(long deploymentProjectId, PlanResultKey planResultKey)
DeploymentVersionLinkedJiraIssuesService
getJiraIssuesForNewDeploymentVersion
in interface DeploymentVersionLinkedJiraIssuesService
deploymentProjectId
- id of the deployment projectplanResultKey
- of the build result we want to create version from@NotNull public List<InternalLinkedJiraIssue> getJiraIssuesForNewDeploymentVersion(long deploymentProjectId, PlanResultKey planResultKey, DeploymentVersion previousVersion)
DeploymentVersionLinkedJiraIssuesService
getJiraIssuesForNewDeploymentVersion
in interface DeploymentVersionLinkedJiraIssuesService
deploymentProjectId
- id of the deployment projectplanResultKey
- of the build result we want to create version frompreviousVersion
- that we want to compare toCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.