public class DeploymentVersionLinkedJiraIssuesServiceImpl extends Object implements DeploymentVersionLinkedJiraIssuesService
| Constructor and Description |
|---|
DeploymentVersionLinkedJiraIssuesServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<DeploymentVersionLinkedJiraIssue> |
compareVersionsByJiraIssues(long deploymentProjectId,
@NotNull DeploymentVersion version1,
@NotNull 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 |
@NotNull List<InternalLinkedJiraIssue> |
getJiraIssuesForNewDeploymentVersion(long deploymentProjectId,
PlanResultKey planResultKey)
Finds the relevant jira issues if a new version would be created from planResultKey.
|
@NotNull 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)
DeploymentVersionLinkedJiraIssuesServiceDeploymentVersiongetJiraIssuesForDeploymentVersion in interface DeploymentVersionLinkedJiraIssuesServicepublic int getJiraIssueCountForDeploymentVersion(long deploymentVersionId)
DeploymentVersionLinkedJiraIssuesServiceDeploymentVersiongetJiraIssueCountForDeploymentVersion in interface DeploymentVersionLinkedJiraIssuesServicedeploymentVersionId - id of the versionDeploymentVersionpublic SortedMap<String,DeploymentVersionLinkedJiraIssue> getJiraIssuesForDeploymentVersionsMap(long deploymentVersionId)
DeploymentVersionLinkedJiraIssuesServiceDeploymentVersion as mapping between issue key and DeploymentVersionLinkedJiraIssuegetJiraIssuesForDeploymentVersionsMap in interface DeploymentVersionLinkedJiraIssuesServicepublic Set<String> getJiraIssueKeysForDeploymentVersion(long deploymentVersionId)
DeploymentVersionLinkedJiraIssuesServiceDeploymentVersiongetJiraIssueKeysForDeploymentVersion in interface DeploymentVersionLinkedJiraIssuesServicepublic Set<String> getIssuesChangedForDeploymentResult(long deploymentResultId)
DeploymentVersionLinkedJiraIssuesServicegetIssuesChangedForDeploymentResult in interface DeploymentVersionLinkedJiraIssuesServicepublic Set<String> getJiraIssueKeysForProject(long deploymentProjectId)
DeploymentVersionLinkedJiraIssuesServiceDeploymentProjectgetJiraIssueKeysForProject in interface DeploymentVersionLinkedJiraIssuesServicepublic List<DeploymentVersionLinkedJiraIssue> compareVersionsByJiraIssues(long deploymentProjectId, @NotNull @NotNull DeploymentVersion version1, @NotNull @NotNull DeploymentVersion version2)
DeploymentVersionLinkedJiraIssuesServicecompareVersionsByJiraIssues in interface DeploymentVersionLinkedJiraIssuesServiceversion1 - 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 @NotNull List<InternalLinkedJiraIssue> getJiraIssuesForNewDeploymentVersion(long deploymentProjectId, PlanResultKey planResultKey)
DeploymentVersionLinkedJiraIssuesServicegetJiraIssuesForNewDeploymentVersion in interface DeploymentVersionLinkedJiraIssuesServicedeploymentProjectId - id of the deployment projectplanResultKey - of the build result we want to create version from@NotNull public @NotNull List<InternalLinkedJiraIssue> getJiraIssuesForNewDeploymentVersion(long deploymentProjectId, PlanResultKey planResultKey, DeploymentVersion previousVersion)
DeploymentVersionLinkedJiraIssuesServicegetJiraIssuesForNewDeploymentVersion in interface DeploymentVersionLinkedJiraIssuesServicedeploymentProjectId - id of the deployment projectplanResultKey - of the build result we want to create version frompreviousVersion - that we want to compare toCopyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.