public class RemoteIssueLinkResource extends Object
Constructor and Description |
---|
RemoteIssueLinkResource(RemoteIssueLinkService remoteIssueLinkService,
BeanBuilderFactory beanBuilderFactory,
I18nHelper i18n,
JiraAuthenticationContext jiraAuthenticationContext) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createOrUpdateRemoteIssueLink(Issue issue,
RemoteIssueLinkCreateOrUpdateRequest request,
ContextUriInfo contextUriInfo)
Creates or updates a remote issue link from a JSON representation.
|
javax.ws.rs.core.Response |
deleteRemoteIssueLinkByGlobalId(Issue issue,
String globalId) |
javax.ws.rs.core.Response |
deleteRemoteIssueLinkById(Issue issue,
String idString)
Deletes a remote issue link.
|
javax.ws.rs.core.Response |
getRemoteIssueLinkById(Issue issue,
String idString)
Gets the remote issue link with the given id for the given issue.
|
javax.ws.rs.core.Response |
getRemoteIssueLinks(Issue issue,
String globalId)
Gets all the remote issue links for the given issue, and filter by the other parameters.
|
javax.ws.rs.core.Response |
updateRemoteIssueLink(Issue issue,
String idString,
RemoteIssueLinkCreateOrUpdateRequest request)
Updates a remote issue link.
|
public RemoteIssueLinkResource(RemoteIssueLinkService remoteIssueLinkService, BeanBuilderFactory beanBuilderFactory, I18nHelper i18n, JiraAuthenticationContext jiraAuthenticationContext)
public javax.ws.rs.core.Response getRemoteIssueLinks(Issue issue, String globalId)
issue
- the issueglobalId
- if not null, return only the remote issue link with this globalIdpublic javax.ws.rs.core.Response getRemoteIssueLinkById(Issue issue, String idString)
issue
- the issueidString
- the id of the remote issue linkpublic javax.ws.rs.core.Response createOrUpdateRemoteIssueLink(Issue issue, RemoteIssueLinkCreateOrUpdateRequest request, ContextUriInfo contextUriInfo)
issue
- the issue to create the link withrequest
- the request, containing the values of the remote issue link to be created/updatedcontextUriInfo
- uri context, for building the self linkpublic javax.ws.rs.core.Response updateRemoteIssueLink(Issue issue, String idString, RemoteIssueLinkCreateOrUpdateRequest request)
issue
- the issue to update the link withidString
- the id of the remote issue linkrequest
- the request, containing the values of the remote issue link to be updatedpublic javax.ws.rs.core.Response deleteRemoteIssueLinkById(Issue issue, String idString)
issue
- the issueidString
- the id of the remote issue linkCopyright © 2002-2021 Atlassian. All Rights Reserved.