public interface DeploymentVersionLinkedJiraIssuesService
DeploymentVersion
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.
|
Set<String> getJiraIssueKeysForDeploymentVersion(long deploymentVersionId)
DeploymentVersion
deploymentVersionId
- Set<String> getJiraIssueKeysForProject(long deploymentProjectId)
DeploymentProject
deploymentProjectId
- List<DeploymentVersionLinkedJiraIssue> getJiraIssuesForDeploymentVersion(long deploymentVersionId)
DeploymentVersion
deploymentVersionId
- int getJiraIssueCountForDeploymentVersion(long deploymentVersionId)
DeploymentVersion
deploymentVersionId
- id of the versionDeploymentVersion
SortedMap<String,DeploymentVersionLinkedJiraIssue> getJiraIssuesForDeploymentVersionsMap(long deploymentVersionId)
DeploymentVersion
as mapping between issue key and DeploymentVersionLinkedJiraIssue
deploymentVersionId
- List<DeploymentVersionLinkedJiraIssue> compareVersionsByJiraIssues(long deploymentProjectId, @NotNull DeploymentVersion version1, @NotNull DeploymentVersion version2)
deploymentProjectId
- 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 List<InternalLinkedJiraIssue> getJiraIssuesForNewDeploymentVersion(long deploymentProjectId, PlanResultKey planResultKey)
deploymentProjectId
- id of the deployment projectplanResultKey
- of the build result we want to create version from@NotNull List<InternalLinkedJiraIssue> getJiraIssuesForNewDeploymentVersion(long deploymentProjectId, PlanResultKey planResultKey, DeploymentVersion previousVersion)
deploymentProjectId
- id of the deployment projectplanResultKey
- of the build result we want to create version frompreviousVersion
- that we want to compare toSet<String> getIssuesChangedForDeploymentResult(long deploymentResultId)
deploymentResultId
- Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.