com.atlassian.jira.rest.v2.issue
Class LinkIssueResource
java.lang.Object
com.atlassian.jira.rest.v2.issue.LinkIssueResource
public class LinkIssueResource
- extends Object
The Link Issue Resource provides functionality to manage issue links.
- Since:
- v4.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkIssueResource
public LinkIssueResource(ApplicationProperties applicationProperties,
ContextI18n i18n,
IssueLinkTypeManager issueLinkTypeManager,
IssueService issueService,
JiraAuthenticationContext authContext,
PermissionManager permissionManager,
IssueLinkManager issueLinkManager,
CommentService commentService,
ProjectRoleManager projectRoleManager)
linkIssues
public javax.ws.rs.core.Response linkIssues(LinkIssueRequestBean linkIssueRequestBean)
- Creates an issue link between two issues.
The user requires the link issue permission for the issue which will be linked to another issue.
The specified link type in the request is used to create the link and will create a link from the first issue
to the second issue using the outward description. It also create a link from the second issue to the first issue using the
inward description of the issue link type.
It will add the supplied comment to the first issue. The comment can have a restriction who can view it.
If group is specified, only users of this group can view this comment, if roleLevel is specified only users who have the specified role can view this comment.
The user who creates the issue link needs to belong to the specified group or have the specified role.
- Parameters:
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.
- Returns:
- a response indicating if the issue link was created successfully.
Copyright © 2002-2011 Atlassian. All Rights Reserved.