docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Use case: Search Jira Users by Project

    Before you start

    1. Verify Permissions: Ensure you have permission to access Jira users in your Unity project. Typically, this means being a project member or having specific collaboration settings access.
    2. Project Context: Know the Unity Project ID you want to search users for.
    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 project:

    1. Get the Project ID: Identify the Unity Project to search users for.
    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 SearchUsersByProjectAsync 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 = "jane";
    var users = await jiraManagementService.SearchUsersByProjectAsync(
        projectId: projectId,
        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 Organization
    • 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)