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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.