I am writing a REST service in JIRA 5. I have created a project and assign project permission scheme through code.
Now i want to assign default issue security scheme to project. I am unable to find such code/class/method.
Regards.
Ed, currently through REST there's no such method. Try the JIRA Command Line Interface plugin, that adds a lot of funcionalities to JIRA. https://bobswift.atlassian.net/wiki/display/JCLI/JIRA+Command+Line+Interface
the following way we are setting securityscheme to project
Scheme issueSecurityScheme = issueSecuritySchemeManager.getSchemeObject("Scheme Name"); if (issueSecurityScheme != null) issueSecuritySchemeId = issueSecurityScheme.getId(); UpdateProjectSchemesValidationResult schemesResult = projectService.validateUpdateProjectSchemes(loggedInUser, permissionSchemeId, notificationSchemeId,issueSecuritySchemeId); projectService.updateProjectSchemes(schemesResult, newProject);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.