Support

Expand all | Collapse all

REST usergroups/id/users endpoint filtering inactive users

  • 1.  REST usergroups/id/users endpoint filtering inactive users

    Posted 04-10-2017 08:20
    I've been working on some tooling to synchronize some of our Active Directory usergroups with Jama Org/Project groups via the REST API.
    I've noticed in testing, that when I fetch a list of users with usergroup/id/users for a given group, the list returned excludes any members that are marked as inactive, yet when I view the same usergroup via the Admin / User Groups page, inactive users are listed.
    Is there a way to have the endpoint include ALL users in the group regardless of status?

    ------------------------------
    Mark Montminy
    ------------------------------


  • 2.  RE: REST usergroups/id/users endpoint filtering inactive users

    Posted 04-11-2017 12:01
    Hi Mark,

    I just checked in with a colleague who has been working on the development of the API. He said he doubts that we will change the endpoint so that inactive members are returned; he thinks that the UI is in error by showing inactive members of the group. (We will file a bug for the latter.)

    ------------------------------
    Kristina King
    Jama Software
    ------------------------------



  • 3.  RE: REST usergroups/id/users endpoint filtering inactive users

    Posted 04-17-2017 15:19
    Just to follow through on this, Mark: the REST API's behavior is working as designed, but the UI's is not. For the UI discrepancy we have filed a bug, SOS-DEF-1797.

    ------------------------------
    Kristina King
    Jama Software
    ------------------------------