public class ShareResource extends Object
Constructor and Description |
---|
ShareResource(JiraAuthenticationContext authenticationContext,
UserPreferencesManager userPreferencesManager,
SearchRequestService searchRequestService,
ShareService shareService,
IssueService issueService) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
shareIssue(String issueKey,
ShareBean shareBean)
Shares an issue via email with a number of users and email-addressees
|
javax.ws.rs.core.Response |
shareSearch(ShareBean shareBean)
Shares a jql search via e-mail.
|
javax.ws.rs.core.Response |
shareSearchRequest(Long id,
ShareBean shareBean)
Shares a saved filter via e-mail.
|
@Autowired public ShareResource(JiraAuthenticationContext authenticationContext, UserPreferencesManager userPreferencesManager, SearchRequestService searchRequestService, ShareService shareService, IssueService issueService)
public javax.ws.rs.core.Response shareIssue(String issueKey, ShareBean shareBean)
issueKey
- the issue to create the remote issue link forshareBean
- a shareBean to share an issuepublic javax.ws.rs.core.Response shareSearchRequest(Long id, ShareBean shareBean)
id
- the id of the filter being looked upshareBean
- A ShareBean
containing information for the share operationCopyright © 2002-2024 Atlassian. All Rights Reserved.