Administration methods in SOAP API
Before we wind up the various useful methods in SOAP API, we can have a look at the administration methods. In this recipe, we will be concentrating on some methods revolving around the creation of projects and permissions. Remaining methods are an easy read once you have a fair idea on the ones we are discussing in this recipe.
Getting ready
Create the SOAP client as we discussed in the previous recipes.
How to do it...
We can have a look at the journey of creating a permission scheme, creating a project using it and adding some users into the project roles. Other schemes used during creation of the project like notification scheme and issue security scheme are not supported via SOAP.
Following are the steps for our journey:
Create the new Permission scheme:
RemotePermissionScheme permScheme = jiraSoapService.createPermissionScheme(authToken, "Test P Scheme", "Test P Description");
Here, we use the
createPermissionScheme
method to create a new permission scheme...