com.atlassian.jira.rest.client.plugin.scope.JiraCreateIssuesScope 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 JiraCreateIssuesScope extends JiraScope
{
public JiraCreateIssuesScope()
{
super(
JiraPermissions.CREATE_ISSUES,
asList(
"createIssue",
"createIssueWithParent",
"createIssueWithParentWithSecurityLevel",
"createIssueWithSecurityLevel",
"getComponents",
"getFieldsForCreate",
"getIssueTypesForProject",
"getPriorities",
"getSecurityLevels",
"getStatuses",
"getSubTaskIssueTypesForProject",
"getVersions"
),
asList(
new RestApiScopeHelper.RestScope("api", asList("latest", "2", "2.0.alpha1"), "/issue", asList("post"))
)
);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy