docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Use case: Search Jira Users by Organization

    Before you start

    1. Verify Permissions: Ensure you have permission to access Jira users in your Unity Organization. Typically, this means being an admin or having specific collaboration settings access.
    2. Organization Context: Know the Organization identifier (GUID) of the Unity Organization where the Jira server is configured.
    3. Jira ServerConfig ID: Obtain the unique identifier (GUID) of the Jira ServerConfig to search users against.
    4. Search Query: Prepare your search query or filter criteria (e.g., username, email, display name).

    How do I...?

    To search for Jira users by organization:

    1. Get the Organization ID: Identify the Unity Organization where the Jira server is configured.
    2. Get the Jira ServerConfig ID: Obtain the ServerConfig ID to use for the request.
    3. Prepare the search query: Define your search string or filter parameters as needed.
    4. Use the SDK: Call the SearchUsersByOrganizationAsync method in the Unity Collaboration SDK with the required properties.
    5. Process the Response: Iterate through the returned users and extract relevant fields (e.g., user key, display name, email). You may want to filter or sort the results for your use case.

    Example:

    var query = "john";
    var users = await jiraManagementService.SearchUsersByOrganizationAsync(
        organizationId: organizationId,
        jiraServerConfigId: jiraServerConfigId,
        query: query,
        cancellationToken: cancellationToken);
    

    Error Handling

    • 400 Bad Request: Invalid input.
    • 401 Unauthorized: Authentication required.
    • 403 Forbidden: Insufficient permissions.

    Related Links

    • Search Jira Users by Project
    • Get Jira Projects from a Server Configuration
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)