Remote user and group management

Let's now have a look at user and group management using remote APIs. This is really useful when we need to manage users and groups from a third-party application.

As mentioned at the beginning of this chapter, some methods are not supported by JRJC yet and this is an example.

In this case, we will see a few important REST methods that can be used for managing users and groups, along with the sample request and response data. There are other useful methods, which are not covered in this recipe, and you can find the full list at https://docs.atlassian.com/jira/REST/latest.

How to do it...

Let us look at the various user operations exposed by JIRA's REST API.

Creating a User

The following are the REST API method details ...

Get JIRA Development Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.