We are performing a phasewise scheduled maintenance of our Zephyr for Jira Cloud and Capure for Jira Cloud instances to be compliant with GDPR- Atlassian privacy policy (https://www.atlassian.com/trust/privacy) .Please expect a downtime during this phase of maintenance from Saturday, 01/12/2019, 9:30 PM PST up until Sunday 01/13/2019, 9:30 AM PST.This will be for our phasewise deployment of infrastructure changes, migration utility verification and customer data migration, as part of our GDPR and Atlassian privacy policy compliance efforts.For any further queries regarding this please rasie a ticket by using the option 'Submit a Ticket' below
Support | Zephyr



How to gather user information via REST API

Created on

Problem: How to gather user information via REST API in Zephyr community/Enterprise Edition.

Fix:

Zephyr 4.7 allows you to get the Zephyr user information by the Rest call. You can use any rest client for the same. Please go through the sample API.

Please note that the user having manager credential can get the other users detail, Other users apart from manager credentials can view only their details.

Example:
API-> http://<Your Zephyr instance url:port number>/flex/services/rest/latest/user/userinfo?username=test.manager

Response Body:
[{
    "id": 1,
    "username": "test.manager",
    "firstName": "Test",
    "lastName": "Manager",
    "email": "test.manager@yourcompany.com",
    "userType": 0
}]


Was this article helpful?
0 out of 1 found this helpful
Have more questions? Submit a request
Powered by Zendesk