com.atlassian.jira.rest.client.plugin.scope.JiraResolveIssuesScope Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jira-rest-java-client-plugin Show documentation
Show all versions of jira-rest-java-client-plugin Show documentation
JIRA REST Java Client bundled as a plugin.
The newest version!
package com.atlassian.jira.rest.client.plugin.scope;
import com.atlassian.plugin.remotable.api.jira.JiraPermissions;
import com.atlassian.plugin.remotable.spi.permission.scope.RestApiScopeHelper;
import static java.util.Arrays.asList;
public final class JiraResolveIssuesScope extends JiraScope
{
public JiraResolveIssuesScope()
{
super(
JiraPermissions.RESOLVE_ISSUES,
asList(
"progressWorkflowAction",
"getComponents",
"getFieldsForAction",
"getIssueTypesForProject",
"getPriorities",
"getSecurityLevels",
"getStatuses",
"getSubTaskIssueTypesForProject",
"getVersions"
),
asList(
new RestApiScopeHelper.RestScope("api", asList("latest", "2", "2.0.alpha1"), "/issue", asList("get", "post", "put")),
new RestApiScopeHelper.RestScope("api", asList("latest", "2", "2.0.alpha1"), "/component", asList("get", "post", "put", "delete")),
new RestApiScopeHelper.RestScope("api", asList("latest", "2", "2.0.alpha1"), "/priority", asList("get", "post", "put", "delete")),
new RestApiScopeHelper.RestScope("api", asList("latest", "2", "2.0.alpha1"), "/resolution", asList("get")),
new RestApiScopeHelper.RestScope("api", asList("latest", "2", "2.0.alpha1"), "/version", asList("get", "post", "put", "delete")),
new RestApiScopeHelper.RestScope("api", asList("latest", "2", "2.0.alpha1"), "/status", asList("get", "post", "put", "delete")),
new RestApiScopeHelper.RestScope("api", asList("latest", "2", "2.0.alpha1"), "/worklog", asList("get", "post", "put", "delete")),
new RestApiScopeHelper.RestScope("api", asList("latest", "2", "2.0.alpha1"), "/custom", asList("get", "post", "put", "delete")),
new RestApiScopeHelper.RestScope("api", asList("latest", "2", "2.0.alpha1"), "/attachment", asList("get", "post", "put", "delete")),
new RestApiScopeHelper.RestScope("api", asList("latest", "2", "2.0.alpha1"), "/comment", asList("get", "post", "put", "delete"))
));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy