Problem/Motivation

The underlying Jira library that the 4.x version of jira_rest depends on providers a UserService class, which can be used for CRUD operations on user accounts. However, jira_rest does not expose that object via the API.

Steps to reproduce

1) Try to perform user account operations on Jira.
2) UserService API is not exposed.

Proposed resolution

Add a function to instantiate the UserService and return it to the calling function.

API changes

A new `getUserService()` function has been added to the JiraRestWrapperService service.

I've included a patch below, could you let me know your thoughts?

CommentFileSizeAuthor
jira_rest_userservice.patch1.42 KBFleetAdmiralButter

Comments

FleetAdmiralButter created an issue. See original summary.

japerry’s picture

Status: Needs review » Fixed

This clearly demonstrates the need for a plugin or event system to manage the different services, but for now this can go in.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.