Remote administration methods
Before we wind up the various useful methods for using remote APIs, 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. The remaining methods are an easy read once you have a fair idea of the ones we are discussing in this recipe.
Since REST is not evolved enough to do administration tasks, we will use the SOAP API in this chapter.
Getting ready
Create the SOAP client as we discussed in the Creating a SOAP client recipe.
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 the creation of the project, such as the notification scheme and issue security scheme, are not supported via SOAP.
The following are the steps for our journey:
Create the new Permission scheme:
RemotePermissionScheme permScheme = jiraSoapService.createPermissionScheme...