public class ShareClient
extends com.atlassian.jira.testkit.client.RestApiClient
| Constructor and Description |
|---|
ShareClient(JIRAEnvironmentData environmentData) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.jira.testkit.client.restclient.Response |
shareIssue(String issueKey,
Set<String> usernames,
Set<String> emails,
String message)
Shares an issue with the given key with the users and email addresses specified.
|
com.atlassian.jira.testkit.client.restclient.Response |
shareSavedSearch(String searchRequestId,
Set<String> usernames,
Set<String> emails,
String message)
Shares a saved search (filter) with the given id with the users and email addresses specified.
|
com.atlassian.jira.testkit.client.restclient.Response |
shareSearchQuery(String jql,
Set<String> usernames,
Set<String> emails,
String message)
Shares a search query with the users and email addresses specified.
|
anonymous, cleanUp, client, createResource, createResourceGadget, createResourceInternal, errorResponse, expanded, getEnvironmentData, loginAs, loginAs, percentEncode, registerResponse, resourceRoot, setOf, toResponse, toResponse, toResponsepublic ShareClient(JIRAEnvironmentData environmentData)
public com.atlassian.jira.testkit.client.restclient.Response shareIssue(String issueKey, Set<String> usernames, @Nullable Set<String> emails, String message)
issueKey - the issue key of the issue to shareusernames - JIRA users to share withemails - email addresses to share withmessage - A message to send with the share emailpublic com.atlassian.jira.testkit.client.restclient.Response shareSavedSearch(String searchRequestId, Set<String> usernames, @Nullable Set<String> emails, String message)
searchRequestId - the id of the saved SearchRequest to shareusernames - JIRA users to share withemails - email addresses to share withmessage - A message to send with the share emailpublic com.atlassian.jira.testkit.client.restclient.Response shareSearchQuery(String jql, Set<String> usernames, @Nullable Set<String> emails, String message)
jql - the jql query to shareusernames - JIRA users to share withemails - email addresses to share withmessage - A message to send with the share emailCopyright © 2002-2017 Atlassian. All Rights Reserved.