public class SyncResource extends AbstractResource
Modifier and Type | Field and Description |
---|---|
private com.atlassian.applinks.api.ApplicationLinkService |
applicationLinkService |
private com.atlassian.jira.security.JiraAuthenticationContext |
authContext |
private IntegrationManager |
integrationManager |
private com.atlassian.jira.bc.issue.IssueService |
issueService |
static org.apache.log4j.Logger |
log |
private com.atlassian.jira.project.ProjectManager |
projectManager |
private com.atlassian.jira.bc.issue.link.RemoteIssueLinkService |
ril |
private RYJobManager |
ryJobManager |
private DelegatingJiraSearchManager |
searchManager |
private StorageDAO |
storageDao |
private StorageManager |
storageManager |
authenticationContext
Constructor and Description |
---|
SyncResource(com.atlassian.jira.bc.issue.IssueService issueService,
com.atlassian.jira.bc.issue.link.RemoteIssueLinkService ril,
com.atlassian.jira.security.JiraAuthenticationContext authContext,
IntegrationManager integrationManager,
RYJobManager ryJobManager,
StorageDAO storageDao,
StorageManager storageManager,
com.atlassian.applinks.api.ApplicationLinkService applicationLinkService,
com.atlassian.jira.project.ProjectManager projectManager,
DelegatingJiraSearchManager searchManager) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createRandomIssues()
Not public.
|
javax.ws.rs.core.Response |
getJobStatus(String jobId) |
private static com.google.gson.JsonElement |
listToJsonElement(List<com.google.gson.JsonObject> updatedRequirements)
This method was stripped from its contents when we noticed we could identify results by globalId
|
javax.ws.rs.core.Response |
update2(String issueKeys)
Resynchronizes the issue keys with Confluence:
Reads their HtmlExcerpt from Confluence
Sends to Confluence ALL the links to ALL requirements linked to these issues.
The second point means if a requirement is linked to JRA-1 and JRA-2, then the link of the requirement to JRA-2
will also be sent.
|
javax.ws.rs.core.Response |
update2OnGet(String issueKeys) |
javax.ws.rs.core.Response |
updateBaseline2(String issueKey,
String json)
Upgrade the requirements in a baseline.
|
javax.ws.rs.core.Response |
upgrade()
Not public.
|
checkIsNotAnonymousUser, getIssueWithPermission, getIssueWithPermissions
public static final org.apache.log4j.Logger log
private final com.atlassian.jira.bc.issue.IssueService issueService
private final com.atlassian.jira.bc.issue.link.RemoteIssueLinkService ril
private final com.atlassian.jira.security.JiraAuthenticationContext authContext
private final IntegrationManager integrationManager
private final RYJobManager ryJobManager
private final StorageDAO storageDao
private final StorageManager storageManager
private final com.atlassian.applinks.api.ApplicationLinkService applicationLinkService
private final com.atlassian.jira.project.ProjectManager projectManager
private final DelegatingJiraSearchManager searchManager
public SyncResource(com.atlassian.jira.bc.issue.IssueService issueService, com.atlassian.jira.bc.issue.link.RemoteIssueLinkService ril, com.atlassian.jira.security.JiraAuthenticationContext authContext, IntegrationManager integrationManager, RYJobManager ryJobManager, StorageDAO storageDao, StorageManager storageManager, com.atlassian.applinks.api.ApplicationLinkService applicationLinkService, com.atlassian.jira.project.ProjectManager projectManager, DelegatingJiraSearchManager searchManager)
public javax.ws.rs.core.Response upgrade()
public javax.ws.rs.core.Response createRandomIssues()
public javax.ws.rs.core.Response update2OnGet(String issueKeys)
@Internal public javax.ws.rs.core.Response update2(String issueKeys)
private static com.google.gson.JsonElement listToJsonElement(List<com.google.gson.JsonObject> updatedRequirements)
public javax.ws.rs.core.Response getJobStatus(String jobId)
Copyright © 2022 Requirement Yogi. All rights reserved.