public class LinkIssueResource extends Object
Constructor and Description |
---|
LinkIssueResource(ApplicationProperties applicationProperties,
I18nHelper i18n,
JiraAuthenticationContext authContext,
PermissionManager permissionManager,
IssueLinkManager issueLinkManager,
CommentService commentService,
ProjectRoleManager projectRoleManager,
IssueLinkTypeFinder issueLinkTypeFinder,
IssueFinder issueFinder,
IssueLinkService issueLinkService,
JiraBaseUrls jiraBaseUrls,
IssueService issueService) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
deleteIssueLink(String linkId)
Deletes an issue link with the specified id.
|
javax.ws.rs.core.Response |
getIssueLink(String linkId)
Returns an issue link with the specified id.
|
javax.ws.rs.core.Response |
linkIssues(LinkIssueRequestJsonBean linkIssueRequestBean)
Creates an issue link between two issues.
|
public LinkIssueResource(ApplicationProperties applicationProperties, I18nHelper i18n, JiraAuthenticationContext authContext, PermissionManager permissionManager, IssueLinkManager issueLinkManager, CommentService commentService, ProjectRoleManager projectRoleManager, IssueLinkTypeFinder issueLinkTypeFinder, IssueFinder issueFinder, IssueLinkService issueLinkService, JiraBaseUrls jiraBaseUrls, IssueService issueService)
public javax.ws.rs.core.Response linkIssues(LinkIssueRequestJsonBean linkIssueRequestBean)
linkIssueRequestBean
- contains all information about the link relationship. Which issues to link, which issue link type to use and
and an optional comment that will be added to the first issue.public javax.ws.rs.core.Response getIssueLink(String linkId)
linkId
- the issue link id.public javax.ws.rs.core.Response deleteIssueLink(String linkId)
linkId
- the issue link id.Copyright © 2002-2024 Atlassian. All Rights Reserved.